summaryrefslogtreecommitdiff
path: root/nc.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-12 17:02:35 +0000
committerMatt Kraai <kraai@debian.org>2000-07-12 17:02:35 +0000
commitbe84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch)
tree088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /nc.c
parente58771e73c0d8589a458ede4088f5ba70eff917b (diff)
downloadbusybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz
busybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.bz2
busybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip
Always report the applet name when doing error reporting.
Diffstat (limited to 'nc.c')
-rw-r--r--nc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nc.c b/nc.c
index a7e48d39b..b6afe6ffa 100644
--- a/nc.c
+++ b/nc.c
@@ -69,7 +69,7 @@ int nc_main(int argc, char **argv)
69 hostinfo = (struct hostent *) gethostbyname(*argv); 69 hostinfo = (struct hostent *) gethostbyname(*argv);
70 70
71 if (!hostinfo) { 71 if (!hostinfo) {
72 fatalError("nc: cannot resolve %s\n", *argv); 72 fatalError("cannot resolve %s\n", *argv);
73 } 73 }
74 74
75 address.sin_family = AF_INET; 75 address.sin_family = AF_INET;