[Bug 261911] Two typos in sbin/nvmecontrol
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261911] Two typos in sbin/nvmecontrol"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261911] Two typos in sbin/nvmecontrol"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261911] Two typos in sbin/nvmecontrol"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 00:03:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261911 Bug ID: 261911 Summary: Two typos in sbin/nvmecontrol Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: vezhlys@gmail.com nvmecontrol has two typos, one in comment, one in log message, see patch below: diff --git a/sbin/nvmecontrol/logpage.c b/sbin/nvmecontrol/logpage.c index 7daf012499a2..419b93e36c18 100644 --- a/sbin/nvmecontrol/logpage.c +++ b/sbin/nvmecontrol/logpage.c @@ -806,7 +806,7 @@ logpage(const struct cmd *f, int argc, char *argv[]) NVME_CTRLR_DATA_LPA_NS_SMART_MASK; /* - * The log page attribtues indicate whether or not the controller + * The log page attributes indicate whether or not the controller * supports the SMART/Health information log page on a per * namespace basis. */ diff --git a/sbin/nvmecontrol/modules/wdc/wdc.c b/sbin/nvmecontrol/modules/wdc/wdc.c index 050458a8812f..43f9315527ca 100644 --- a/sbin/nvmecontrol/modules/wdc/wdc.c +++ b/sbin/nvmecontrol/modules/wdc/wdc.c @@ -591,7 +591,7 @@ print_hgst_info_background_scan(void *buf, uint16_t subtype __unused, uint8_t re return; } if (code != 0) { - printf("Expceted code 0, found code %#x\n", code); + printf("Expected code 0, found code %#x\n", code); return; } pom = le32dec(walker); -- You are receiving this mail because: You are the assignee for the bug.