From 5bd12965c129d850e15938691e298e97e7c63394 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 25 Jul 2023 18:17:17 +0000 Subject: [PATCH] nvme-print-stdout: fix storage tag size label The NVM Command Set Extended LBA Format Data Structure has Protection Information Format (pif) and Storage Tag Size (sts) fields. The sts field is incorrectly labeled in the non-verbose normal output. Fix the label. Signed-off-by: Vincent Fu --- nvme-print-stdout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvme-print-stdout.c b/nvme-print-stdout.c index 9158f1b5f..566571df0 100644 --- a/nvme-print-stdout.c +++ b/nvme-print-stdout.c @@ -2993,7 +2993,7 @@ static void stdout_nvm_id_ns(struct nvme_nvm_id_ns *nvm_ns, unsigned int nsid, pif == 1 ? "32b Guard" : "16b Guard", pif, sts, i == (ns->flbas & 0xf) ? in_use : ""); else - printf("elbaf %2d : pif:%d lbads:%-2d %s\n", i, + printf("elbaf %2d : pif:%d sts:%-2d %s\n", i, pif, sts, i == (ns->flbas & 0xf) ? in_use : ""); } }