From: Karel Zak Date: Mon, 16 Feb 2026 12:30:55 +0000 (+0100) Subject: blkzone: make N/A string translatable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c72261dfdfdf06eaf83c786907b19da2c3b650;p=thirdparty%2Futil-linux.git blkzone: make N/A string translatable The "N/A" string for write pointer should be marked for translation to support localization, following the pattern used elsewhere in util-linux (e.g., blockdev.c). Signed-off-by: Karel Zak --- diff --git a/sys-utils/blkzone.c b/sys-utils/blkzone.c index 9de771958..1b5932fb2 100644 --- a/sys-utils/blkzone.c +++ b/sys-utils/blkzone.c @@ -292,7 +292,7 @@ static int blkzone_report(struct blkzone_control *ctl) if (type == BLK_ZONE_TYPE_CONVENTIONAL || cond == BLK_ZONE_COND_FULL) - snprintf(wp_str, sizeof(wp_str), "N/A"); + snprintf(wp_str, sizeof(wp_str), "%s", _("N/A")); else snprintf(wp_str, sizeof(wp_str), "0x%06" PRIx64, wp - start);