aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mbmon
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-02 07:56:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-02 07:56:24 +0000
commit4f3dd008d68e4be1e130471d7a273e535a168321 (patch)
tree3855ee82b7e56948c348e8784045ed9be195eaf2 /sysutils/mbmon
parent2854f882c618e6325e71462caf6427485f2cc181 (diff)
downloadports-4f3dd008d68e4be1e130471d7a273e535a168321.tar.gz
ports-4f3dd008d68e4be1e130471d7a273e535a168321.zip
Notes
Diffstat (limited to 'sysutils/mbmon')
-rw-r--r--sysutils/mbmon/files/patch-testsmb.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/mbmon/files/patch-testsmb.c b/sysutils/mbmon/files/patch-testsmb.c
new file mode 100644
index 000000000000..ceabe4903225
--- /dev/null
+++ b/sysutils/mbmon/files/patch-testsmb.c
@@ -0,0 +1,22 @@
+
+$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:
+
+ } /* endo of Big roop for smb_base candidates */
+ exit (0);