aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
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 /builtin.c
parente26cf22ad5c7d772ecc0c195bfbc612f1bb1f5b6 (diff)
downloadegawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.gz
egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.bz2
egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.zip
First round of message improvements.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin.c b/builtin.c
index 8be3b9ea..4c3817b0 100644
--- a/builtin.c
+++ b/builtin.c
@@ -141,7 +141,7 @@ wrerror:
if ((rp != NULL) ? is_non_fatal_redirect(rp->value, strlen(rp->value)) : is_non_fatal_std(fp))
update_ERRNO_int(errno);
else
- fatal(_("%s to \"%s\" failed (%s)"), from,
+ fatal(_("%s to \"%s\" failed: %s"), from,
rp != NULL
? rp->value
: fp == stdout
@@ -924,11 +924,11 @@ check_pos:
fw = 0;
used_dollar = true;
if (argnum <= 0) {
- msg(_("fatal: arg count with `$' must be > 0"));
+ msg(_("fatal: argument index with `$' must be > 0"));
goto out;
}
if (argnum >= num_args) {
- msg(_("fatal: arg count %ld greater than total number of supplied arguments"), argnum);
+ msg(_("fatal: argument index %ld greater than total number of supplied arguments"), argnum);
goto out;
}
} else {