diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-03-09 12:54:05 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-03-09 12:54:05 +0200 |
commit | 6514b3a2f5ed8c593d7d49526a27122989e673d0 (patch) | |
tree | ee1d50a6b52e633e1ba7617aeee4c7b667f3534a /builtin.c | |
parent | e26cf22ad5c7d772ecc0c195bfbc612f1bb1f5b6 (diff) | |
download | egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.gz egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.tar.bz2 egawk-6514b3a2f5ed8c593d7d49526a27122989e673d0.zip |
First round of message improvements.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |