From a4165d0584376d948c213ec93c6065d24ff6a5e7 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 13 Aug 2009 12:42:36 +0300 Subject: Sync some error messages from xz to xzdec. Make xz error message translation usable outside xz (at least in upcoming lzmainfo). --- src/xz/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xz') diff --git a/src/xz/main.c b/src/xz/main.c index 868d2888..4121f8d4 100644 --- a/src/xz/main.c +++ b/src/xz/main.c @@ -54,8 +54,8 @@ my_exit(enum exit_status_type status) // If it was fclose() that failed, we have the reason // in errno. If only ferror() indicated an error, // we have no idea what the reason was. - message(V_ERROR, _("Writing to standard output " - "failed: %s"), + message(V_ERROR, "%s: %s", _("Writing to standard " + "output failed"), fclose_err ? strerror(errno) : _("Unknown error")); status = E_ERROR; -- cgit v1.2.3