]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
libfrog: fix missing gettext call in current_fixed_time
authorDarrick J. Wong <djwong@kernel.org>
Sun, 22 Feb 2026 22:41:02 +0000 (14:41 -0800)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 8 Apr 2026 19:39:56 +0000 (21:39 +0200)
This error message can be seen by regular users, so it should be looked
up in the internationalization catalogue with gettext.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libfrog/util.c

index d49cf72426f6c8c967ab36f70ab6dbde863d8d6b..5bae5bab46f91d1000264425a593bc7efc24fdf9 100644 (file)
@@ -83,8 +83,8 @@ current_fixed_time(
                        epoch = strtoll(source_date_epoch, &endp, 10);
                        if (errno != 0 || *endp != '\0') {
                                fprintf(stderr,
                      "%s: SOURCE_DATE_EPOCH '%s' invalid timestamp, ignoring.\n",
-                               progname, source_date_epoch);
_("%s: SOURCE_DATE_EPOCH '%s' invalid timestamp, ignoring.\n"),
+                                               progname, source_date_epoch);
 
                                return false;
                        }