From 6a0c1de213cb8475ee435ff216f4037080926378 Mon Sep 17 00:00:00 2001 From: kraai Date: Wed, 12 Jul 2000 17:02:35 +0000 Subject: Always report the applet name when doing error reporting. git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- ar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ar.c') 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,"!",7) != 0) { -- cgit v1.2.3-55-g6feb