aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mbmon/files/patch-testsmb.c
blob: f02a2e6b69cbb097013f0b22845366ab205e6711 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

$FreeBSD$

--- testsmb.c.orig	Mon Aug  2 09:54:32 2004
+++ testsmb.c	Mon Aug  2 09:55:00 2004
@@ -126,7 +126,7 @@
 		break;
 	default:
 		fprintf(stderr, "No known SMBus(I2C) chip found.\n");
-		goto exit;
+		continue;
 	}
 
 	if(OpenIO() == -1) return -1;
@@ -141,7 +141,6 @@
 	}
 	
 	CloseIO();
-exit:
	;	/* dummy statment for gcc 3.4 or after */
 
   } /* endo of Big roop for smb_base candidates */
   exit (0);