aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-03-09 12:54:05 +0200
committerArnold D. Robbins <arnold@skeeve.com>2020-03-09 12:54:05 +0200
commit6514b3a2f5ed8c593d7d49526a27122989e673d0 (patch)
treeee1d50a6b52e633e1ba7617aeee4c7b667f3534a /awk.h
parente26cf22ad5c7d772ecc0c195bfbc612f1bb1f5b6 (diff)
downloadegawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.gz
egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.bz2
egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.zip
First round of message improvements.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/awk.h b/awk.h
index ff14250b..f15fe7ef 100644
--- a/awk.h
+++ b/awk.h
@@ -1989,7 +1989,7 @@ emalloc_real(size_t count, const char *where, const char *var, const char *file,
ret = (void *) malloc(count);
if (ret == NULL)
- fatal(_("%s:%d:%s: %s: can't allocate %ld bytes of memory (%s)"),
+ fatal(_("%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"),
file, line, where, var, (long) count, strerror(errno));
return ret;
@@ -2007,7 +2007,7 @@ ezalloc_real(size_t count, const char *where, const char *var, const char *file,
ret = (void *) calloc(1, count);
if (ret == NULL)
- fatal(_("%s:%d:%s: %s: can't allocate %ld bytes of memory (%s)"),
+ fatal(_("%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"),
file, line, where, var, (long) count, strerror(errno));
return ret;
@@ -2025,7 +2025,7 @@ erealloc_real(void *ptr, size_t count, const char *where, const char *var, const
ret = (void *) realloc(ptr, count);
if (ret == NULL)
- fatal(_("%s:%d:%s: %s: can't reallocate %ld bytes of memory (%s)"),
+ fatal(_("%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"),
file, line, where, var, (long) count, strerror(errno));
return ret;