summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai2001-05-16 15:52:23 +0000
committerMatt Kraai2001-05-16 15:52:23 +0000
commitbf381a0ad83a77d054a99da2b585c43dfe71c6d1 (patch)
tree78ddd6ef2e1081775fd1f9a5adb6eef4540a2f55
parentc55b8d41c15640fa1637f919b3f6eca6e781047a (diff)
downloadbusybox-bf381a0ad83a77d054a99da2b585c43dfe71c6d1.zip
busybox-bf381a0ad83a77d054a99da2b585c43dfe71c6d1.tar.gz
Whoops. Forgot the x.
-rw-r--r--networking/ping.c4
-rw-r--r--ping.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/networking/ping.c b/networking/ping.c
index 0967999..1afcb28 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: ping.c,v 1.41 2001/05/16 15:40:48 kraai Exp $
+ * $Id: ping.c,v 1.42 2001/05/16 15:52:23 kraai Exp $
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -443,7 +443,7 @@ static void ping(const char *host)
memset(&pingaddr, 0, sizeof(struct sockaddr_in));
pingaddr.sin_family = AF_INET;
- h = gethostbyname(host);
+ h = xgethostbyname(host);
if (h->h_addrtype != AF_INET)
error_msg_and_die("unknown address type; only AF_INET is currently supported.");
diff --git a/ping.c b/ping.c
index 0967999..1afcb28 100644
--- a/ping.c
+++ b/ping.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: ping.c,v 1.41 2001/05/16 15:40:48 kraai Exp $
+ * $Id: ping.c,v 1.42 2001/05/16 15:52:23 kraai Exp $
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -443,7 +443,7 @@ static void ping(const char *host)
memset(&pingaddr, 0, sizeof(struct sockaddr_in));
pingaddr.sin_family = AF_INET;
- h = gethostbyname(host);
+ h = xgethostbyname(host);
if (h->h_addrtype != AF_INET)
error_msg_and_die("unknown address type; only AF_INET is currently supported.");