diff options
author | Sami Kerola | 2012-07-15 10:17:53 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-16 18:18:22 +0200 |
commit | add1b8afd0d836039d9adcc29f53ba6136a66b09 (patch) | |
tree | 1810f35135749e943b36c93cba296e3e917bed54 /term-utils | |
parent | utmpdump: use help and version output macros (diff) | |
download | kernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.tar.gz kernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.tar.xz kernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.zip |
translation: unify stat error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/mesg.c | 2 | ||||
-rw-r--r-- | term-utils/wall.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/term-utils/mesg.c b/term-utils/mesg.c index 366c679ac..b24e78335 100644 --- a/term-utils/mesg.c +++ b/term-utils/mesg.c @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) err(MESG_EXIT_FAILURE, _("ttyname failed")); if (stat(tty, &sb) < 0) - err(MESG_EXIT_FAILURE, _("stat %s failed"), tty); + err(MESG_EXIT_FAILURE, _("stat failed %s"), tty); if (!*argv) { if (sb.st_mode & (S_IWGRP | S_IWOTH)) { diff --git a/term-utils/wall.c b/term-utils/wall.c index 996650638..1f44be4c7 100644 --- a/term-utils/wall.c +++ b/term-utils/wall.c @@ -266,7 +266,7 @@ makemsg(char *fname, size_t *mbufsize, int print_banner) rewind(fp); if (fstat(fileno(fp), &sbuf)) - err(EXIT_FAILURE, _("fstat failed")); + err(EXIT_FAILURE, _("stat failed")); *mbufsize = (size_t) sbuf.st_size; mbuf = xmalloc(*mbufsize); |