summaryrefslogtreecommitdiff
path: root/package/ntpclient
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
commit407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch)
tree0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/ntpclient
parent2ecefcf609e484d04d1546581191831e07ad71ec (diff)
parentabb858ae43374dc13a5fcef19b9e0ba9442013bb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ntpclient')
-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) {