summaryrefslogtreecommitdiff
path: root/archival/gzip.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-12 17:02:35 +0000
committerMatt Kraai2000-07-12 17:02:35 +0000
commitbe84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch)
tree088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /archival/gzip.c
parente58771e73c0d8589a458ede4088f5ba70eff917b (diff)
downloadbusybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip
busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz
Always report the applet name when doing error reporting.
Diffstat (limited to 'archival/gzip.c')
-rw-r--r--archival/gzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 9248cfe..8bc67d9 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -127,7 +127,7 @@ extern int method; /* compression method */
# define DECLARE(type, array, size) type * array
# define ALLOC(type, array, size) { \
array = (type*)calloc((size_t)(((size)+1L)/2), 2*sizeof(type)); \
- if (array == NULL) errorMsg(memory_exhausted, "gzip"); \
+ if (array == NULL) errorMsg(memory_exhausted); \
}
# define FREE(array) {if (array != NULL) free(array), array=NULL;}
#else
@@ -3251,7 +3251,7 @@ char *env; /* name of environment variable */
nargv = (char **) calloc(*argcp + 1, sizeof(char *));
if (nargv == NULL)
- errorMsg(memory_exhausted, "gzip");
+ errorMsg(memory_exhausted);
oargv = *argvp;
*argvp = nargv;