summaryrefslogtreecommitdiff
path: root/package/ntpclient/patches/patch-ntpclient_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
commit78646a0eb8f5f9d41d6bcfd261b4717e1648ab5f (patch)
tree9bb8338369591ad084a8a3a1b19a9727b0d4c2e4 /package/ntpclient/patches/patch-ntpclient_c
parentbb9efd268326393ca769c38e6385216569e70e52 (diff)
parentc0949bd08b50c985226dee3d1b3f63d1d067293e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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) {