summaryrefslogtreecommitdiff
path: root/misc/asbutton/files/patch-asbutton.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/asbutton/files/patch-asbutton.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/asbutton/files/patch-asbutton.c b/misc/asbutton/files/patch-asbutton.c
new file mode 100644
index 000000000000..caeeb866c5c9
--- /dev/null
+++ b/misc/asbutton/files/patch-asbutton.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- asbutton.c.orig
++++ asbutton.c
+@@ -605,7 +605,7 @@
+ continue;
+ }
+ if ( !strncasecmp(line, "button", 6))
+- if (atoi(&(char)line[6]) == position)
++ if (atoi((char)line[6]) == position)
+ break;
+ }
+ } while (1);