man-pages/man-pages-3.42-inet.patch

13 lines
395 B
Diff
Raw Normal View History

diff -ur man-pages-3.42.orig/man3/inet.3 man-pages-3.42/man3/inet.3
--- man-pages-3.42.orig/man3/inet.3 2012-08-14 00:39:38.000000000 +0200
+++ man-pages-3.42/man3/inet.3 2012-09-12 12:35:46.908363695 +0200
@@ -286,7 +286,7 @@
}
if (inet_aton(argv[1], &addr) == 0) {
- perror("inet_aton");
+ fprintf(stderr, "Invalid address\\n");
exit(EXIT_FAILURE);
}