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 /ar.c | |
parent | e58771e73c0d8589a458ede4088f5ba70eff917b (diff) | |
download | busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz |
Always report the applet name when doing error reporting.
Diffstat (limited to 'ar.c')
-rw-r--r-- | ar.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -158,12 +158,12 @@ static int copySubFile(int srcFd, int dstFd, int copySize) readSize = copySize; writeSize = fullRead(srcFd, buffer, readSize); if (writeSize <= 0) { - errorMsg(io_error, "copySubFile :", strerror(errno)); + errorMsg(io_error, "copySubFile", strerror(errno)); return (FALSE); } doneSize = fullWrite(dstFd, buffer, writeSize); if (doneSize <= 0) { - errorMsg(io_error, "copySubFile :", strerror(errno)); + errorMsg(io_error, "copySubFile", strerror(errno)); return (FALSE); } copySize -= doneSize; @@ -220,7 +220,7 @@ static int getArFd(char *filename) return (FALSE); } if (fullRead(arFd, arVersion, 8) <= 0) { - errorMsg( "ar: Unexpected EOF in archive\n"); + errorMsg( "Unexpected EOF in archive\n"); return (FALSE); } if (strncmp(arVersion,"!<arch>",7) != 0) { |