Always report the applet name when doing error reporting.
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 @@
# 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 @@
nargv = (char **) calloc(*argcp + 1, sizeof(char *));
if (nargv == NULL)
- errorMsg(memory_exhausted, "gzip");
+ errorMsg(memory_exhausted);
oargv = *argvp;
*argvp = nargv;