summaryrefslogtreecommitdiff
path: root/package/ntpclient/patches/patch-ntpclient_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
commit4881da11df564c8c989ade4e223b31ee8a993776 (patch)
tree91e1f07da510d5e8750643549359a119b5735491 /package/ntpclient/patches/patch-ntpclient_c
parent22b402f8b23c5826c8bf656045129e3909e29a22 (diff)
another bunch of musl fixes, and some libtinfo fixes
Diffstat (limited to 'package/ntpclient/patches/patch-ntpclient_c')
-rw-r--r--package/ntpclient/patches/patch-ntpclient_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ntpclient/patches/patch-ntpclient_c b/package/ntpclient/patches/patch-ntpclient_c
new file mode 100644
index 000000000..ed3b6c1d2
--- /dev/null
+++ b/package/ntpclient/patches/patch-ntpclient_c
@@ -0,0 +1,11 @@
+--- ntpclient-2010.orig/ntpclient.c 2010-12-31 18:28:36.000000000 +0100
++++ ntpclient-2010/ntpclient.c 2014-01-03 12:20:27.000000000 +0100
+@@ -441,7 +441,7 @@ static void stuff_net_addr(struct in_add
+ struct hostent *ntpserver;
+ ntpserver=gethostbyname(hostname);
+ if (ntpserver == NULL) {
+- herror(hostname);
++ perror(hostname);
+ exit(1);
+ }
+ if (ntpserver->h_length != 4) {