diff options
author | Karel Zak | 2008-04-28 13:58:24 +0200 |
---|---|---|
committer | Karel Zak | 2008-04-28 13:58:24 +0200 |
commit | 3e6e4bf6ae5683cfc28f57e7d8c17f718eb00bc0 (patch) | |
tree | 4690f060a5e40f44b57666d2e069bd7ccafad9e1 /misc-utils/scriptreplay.c | |
parent | docs: update v2.14 ReleaseNotes (diff) | |
download | kernel-qcow2-util-linux-3e6e4bf6ae5683cfc28f57e7d8c17f718eb00bc0.tar.gz kernel-qcow2-util-linux-3e6e4bf6ae5683cfc28f57e7d8c17f718eb00bc0.tar.xz kernel-qcow2-util-linux-3e6e4bf6ae5683cfc28f57e7d8c17f718eb00bc0.zip |
scriptreplay: gettextize a forgotten messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/scriptreplay.c')
-rw-r--r-- | misc-utils/scriptreplay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/scriptreplay.c b/misc-utils/scriptreplay.c index 2ae31a2a7..6c351a35a 100644 --- a/misc-utils/scriptreplay.c +++ b/misc-utils/scriptreplay.c @@ -35,7 +35,7 @@ void __attribute__((__noreturn__)) usage(int rc) { - printf("%s <timingfile> [<typescript> [<divisor>]]\n", + printf(_("%s <timingfile> [<typescript> [<divisor>]]\n"), program_invocation_short_name); exit(rc); } @@ -101,7 +101,7 @@ emit(FILE *fd, const char *filename, size_t ct) ct -= len; cc = write(STDOUT_FILENO, buf, len); if (cc != len) - err(EXIT_FAILURE, "write to stdout failed"); + err(EXIT_FAILURE, _("write to stdout failed")); } if (!ct) @@ -160,7 +160,7 @@ main(int argc, char *argv[]) break; if (ferror(tfile)) err(EXIT_FAILURE, - "failed to read timing file %s", tname); + _("failed to read timing file %s"), tname); errx(EXIT_FAILURE, _("timings file %s: %lu: expected format"), tname, line); |