]> Pileus Git - ~andy/sunrise/blob - net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch
2944464c08bcd84bb735b779e60fefca78e373f6
[~andy/sunrise] / net-misc / vpncwatch / files / vpncwatch-1.7-literal.patch
1 --- net.c       2008-02-04 09:28:51.000000000 +0100
2 +++ net.c.new   2009-02-08 17:13:31.188241104 +0100
3 @@ -53,7 +53,7 @@
4      /* get the server address */
5      if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) {
6          if ((host = gethostbyname(chkhost)) == NULL) {
7 -            syslog(LOG_ERR, hstrerror(h_errno));
8 +            syslog(LOG_ERR, "%s", hstrerror(h_errno));
9              return 0;
10          }
11