summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch')
-rw-r--r--net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch
new file mode 100644
index 000000000000..2944464c08bc
--- /dev/null
+++ b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch
@@ -0,0 +1,11 @@
+--- net.c 2008-02-04 09:28:51.000000000 +0100
++++ net.c.new 2009-02-08 17:13:31.188241104 +0100
+@@ -53,7 +53,7 @@
+ /* get the server address */
+ if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) {
+ if ((host = gethostbyname(chkhost)) == NULL) {
+- syslog(LOG_ERR, hstrerror(h_errno));
++ syslog(LOG_ERR, "%s", hstrerror(h_errno));
+ return 0;
+ }
+