summaryrefslogtreecommitdiff
path: root/misc/ibutton-pdkit/patches/patch-swtoper.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibutton-pdkit/patches/patch-swtoper.c')
-rw-r--r--misc/ibutton-pdkit/patches/patch-swtoper.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/ibutton-pdkit/patches/patch-swtoper.c b/misc/ibutton-pdkit/patches/patch-swtoper.c
new file mode 100644
index 00000000000..1e2f1a0fb6b
--- /dev/null
+++ b/misc/ibutton-pdkit/patches/patch-swtoper.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-swtoper.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
+
+--- swtoper.c.orig 2013-01-11 01:34:38.000000000 +0000
++++ swtoper.c
+@@ -54,7 +54,7 @@ extern int getkeystroke(void);
+ //---------------------------------------------------------------------------
+ // The main program that performs the operations on switches
+ //
+-int main(short argc, char **argv)
++int main(int argc, char **argv)
+ {
+ char return_msg[128]; //returned message from 1-wire operations
+ short test; //info byte data