summaryrefslogtreecommitdiff
path: root/net/wackamole/files/patch-config_gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'net/wackamole/files/patch-config_gram.y')
-rw-r--r--net/wackamole/files/patch-config_gram.y11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wackamole/files/patch-config_gram.y b/net/wackamole/files/patch-config_gram.y
new file mode 100644
index 000000000000..d7ac0bce019c
--- /dev/null
+++ b/net/wackamole/files/patch-config_gram.y
@@ -0,0 +1,11 @@
+--- config_gram.y.orig 2014-05-06 16:30:17.040722949 -0700
++++ config_gram.y 2014-05-06 16:32:22.614815187 -0700
+@@ -106,7 +106,7 @@
+ SPIT("Setting Group: %s\n", Spread_group); }
+ | W_LOG W_EQUALS W_STRING
+ | W_CONTROL W_EQUALS W_STRING
+- { snprintf(control_socket, MAXPATHLEN, $3.string); }
++ { snprintf(control_socket, MAXPATHLEN, "%s", $3.string); }
+ | W_MATURE W_EQUALS W_TIMEINTERVAL
+ { Maturity_timeout.sec = $3.tv.tv_sec;
+ Maturity_timeout.usec = 0;