summaryrefslogtreecommitdiff
path: root/package/ntpclient/patches/patch-ntpclient_c
blob: ed3b6c1d2271c3d5381230e36323b0324b7caa25 (plain)
1
2
3
4
5
6
7
8
9
10
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) {