1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/sysutils/mbmon/files/patch-testsmb.c
Edwin Groothuis a33a3f9264 maintainer-update of xmbmon port.
maintainer-update of xmbmon port.
	TO VERSION 205

PR:		ports/71814
Submitted by:	NAKAMURA Kazushi <kaz@kobe1995.net>
2004-10-12 01:08:04 +00:00

24 lines
417 B
C

$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);