diff options
author | Matt Kraai | 2000-07-12 17:02:35 +0000 |
---|---|---|
committer | Matt Kraai | 2000-07-12 17:02:35 +0000 |
commit | be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch) | |
tree | 088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /ping.c | |
parent | e58771e73c0d8589a458ede4088f5ba70eff917b (diff) | |
download | busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz |
Always report the applet name when doing error reporting.
Diffstat (limited to 'ping.c')
-rw-r--r-- | ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.19 2000/07/09 06:59:58 andersen Exp $ + * $Id: ping.c,v 1.20 2000/07/12 17:02:35 kraai Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -336,7 +336,7 @@ static void sendping(int ign) (struct sockaddr *) &pingaddr, sizeof(struct sockaddr_in)); if (i < 0) - fatalError("ping: sendto: %s\n", strerror(errno)); + fatalError("sendto: %s\n", strerror(errno)); else if (i != sizeof(packet)) fatalError("ping wrote %d chars; %d expected\n", i, (int)sizeof(packet)); |