]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkzone: make N/A string translatable
authorKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 12:30:55 +0000 (13:30 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 12:30:55 +0000 (13:30 +0100)
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 <kzak@redhat.com>
sys-utils/blkzone.c

index 9de77195818bfcb587b7c31b089c020d8fad5f64..1b5932fb27aab2b216261563f35887d70344a084 100644 (file)
@@ -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);