]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
date: translate/clarify recent error message
authorPádraig Brady <P@draigBrady.com>
Mon, 3 Nov 2025 12:55:35 +0000 (12:55 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 3 Nov 2025 12:55:35 +0000 (12:55 +0000)
* src/show-date.c (show_date): Flagged by syntax-check.

src/show-date.c

index 59d5cf936488f0192a0a8ce5007eed28c08b5b56..96cefc8108cdfe6b41a1149fe402a08917ba2037 100644 (file)
@@ -31,7 +31,7 @@ show_date (char const *format, struct timespec when, timezone_t tz)
 
   if (fprintftime (stdout, format, &tm, tz, when.tv_nsec) < 0)
     {
-      error (0, errno, "fprintftime");
+      error (0, errno, _("fprintftime error"));
       return false;
     }