aboutsummaryrefslogtreecommitdiff
path: root/ar.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 /ar.c
parente58771e73c0d8589a458ede4088f5ba70eff917b (diff)
downloadbusybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz
Always report the applet name when doing error reporting.
Diffstat (limited to 'ar.c')
-rw-r--r--ar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ar.c b/ar.c
index 27dfadd1d..a43cc1dff 100644
--- a/ar.c
+++ b/ar.c
@@ -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) {