From 95c72261dfdfdf06eaf83c786907b19da2c3b650 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Feb 2026 13:30:55 +0100 Subject: [PATCH] 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 --- sys-utils/blkzone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3