projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A patch from John F. Kelly to add in a utility for configuring
[oweals/busybox.git]
/
networking
/
ping.c
diff --git
a/networking/ping.c
b/networking/ping.c
index e3ba2ed27f5374fd11ba21f1dcf7a0dd05172ed8..044b547ac601af85555daeea3a85b10d65002f91 100644
(file)
--- a/
networking/ping.c
+++ b/
networking/ping.c
@@
-1,6
+1,6
@@
/* vi: set sw=4 ts=4: */
/*
/* vi: set sw=4 ts=4: */
/*
- * $Id: ping.c,v 1.5
0 2002/03/21 14:04:4
3 andersen Exp $
+ * $Id: ping.c,v 1.5
3 2003/01/12 06:08:3
3 andersen Exp $
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@
-179,7
+179,7
@@
static char *hostname = NULL;
static void noresp(int ign)
{
printf("No response from %s\n", hostname);
static void noresp(int ign)
{
printf("No response from %s\n", hostname);
- exit(
0
);
+ exit(
EXIT_FAILURE
);
}
static void ping(const char *host)
}
static void ping(const char *host)