- compiler warnings - diag_nvme: call_home command fails on nvmf drive - rtas_errd: Fix core dump with large filename passed to -f option Resolves: RHEL-55398
25 lines
876 B
Diff
25 lines
876 B
Diff
commit 316d2baf5dba0d00447a3ac49f2f95339dbdf5cd
|
|
Author: Greg Joyce <gjoyce@linux.vnet.ibm.com>
|
|
Date: Wed Nov 15 11:28:05 2023 -0600
|
|
|
|
nvme_call_home: remove -d and -f from usage message
|
|
|
|
The -d and -f weren't removed from the first line of the
|
|
usage message.
|
|
|
|
Signed-off-by: Greg Joyce <gjoyce@linux.vnet.ibm.com>
|
|
|
|
diff --git a/diags/diag_nvme.c b/diags/diag_nvme.c
|
|
index 00efec2..164afe1 100644
|
|
--- a/diags/diag_nvme.c
|
|
+++ b/diags/diag_nvme.c
|
|
@@ -989,7 +989,7 @@ extern int open_nvme(char *dev_path) {
|
|
}
|
|
|
|
static void print_usage(char *command) {
|
|
- printf("Usage: %s [-h] [-d <file>] [-f <file>] [<nvme_devices>]\n"
|
|
+ printf("Usage: %s [-h] [<nvme_devices>]\n"
|
|
"\t-h or --help: print this help message\n"
|
|
"\t<nvme_devices>: the NVMe devices on which to operate, for\n"
|
|
"\t example nvme0; if not specified, all detected\n"
|