From: Tokunori Ikegami <ikegami.t@gmail.com> Date: Fri, 5 May 2023 13:09:36 +0000 (+0900) Subject: Fix incorrect article 'an' as 'a' to use for descriptions and message X-Git-Tag: v2.5~120 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fe52f1da8de2910b80f93de61a3be792b7b10ed2;p=users%2Fsagi%2Fnvme-cli.git Fix incorrect article 'an' as 'a' to use for descriptions and message Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com> --- diff --git a/Documentation/nvme-dsm.txt b/Documentation/nvme-dsm.txt index e81de14c..ff658a78 100644 --- a/Documentation/nvme-dsm.txt +++ b/Documentation/nvme-dsm.txt @@ -18,7 +18,7 @@ SYNOPSIS DESCRIPTION ----------- -For the NVMe device given, sends an Data Set Management command and +For the NVMe device given, sends a Data Set Management command and provides the result and returned structure. The <device> parameter is mandatory and may be either the NVMe character diff --git a/nvme-print.c b/nvme-print.c index 38fc8d02..c989435d 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -1931,7 +1931,7 @@ static void nvme_show_id_ctrl_nvmsr(__u8 nvmsr) printf(" [7:2] : %#x\tReserved\n", rsvd); printf(" [1:1] : %#x\tNVM subsystem %spart of an Enclosure\n", nvmee, nvmee ? "" : "Not "); - printf(" [0:0] : %#x\tNVM subsystem %spart of an Storage Device\n", + printf(" [0:0] : %#x\tNVM subsystem %spart of a Storage Device\n", nvmesd, nvmesd ? "" : "Not "); printf("\n"); } diff --git a/plugins/zns/zns.c b/plugins/zns/zns.c index f8809ba4..43481849 100644 --- a/plugins/zns/zns.c +++ b/plugins/zns/zns.c @@ -114,7 +114,7 @@ static int list(int argc, char **argv, struct command *cmd, static int id_ctrl(int argc, char **argv, struct command *cmd, struct plugin *plugin) { - const char *desc = "Send an ZNS specific Identify Controller command to "\ + const char *desc = "Send a ZNS specific Identify Controller command to "\ "the given device and report information about the specified "\ "controller in various formats."; @@ -158,7 +158,7 @@ close_fd: static int id_ns(int argc, char **argv, struct command *cmd, struct plugin *plugin) { - const char *desc = "Send an ZNS specific Identify Namespace command to "\ + const char *desc = "Send a ZNS specific Identify Namespace command to "\ "the given device and report information about the specified "\ "namespace in varios formats."; const char *vendor_specific = "dump binary vendor fields";