nvme-cli: make command description const
PATCH 1/1 nvme-cli: make command description const
Make desc in sanitize_log() const.
Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
--- nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
nvme.c +1 -1
@@ -488,7 +488,7 @@ static const char * sanitize_mon_status_to_string(__u16 status)static int sanitize_log (int argc,char **argv,struct command *command,struct plugin *plugin) { -char *desc ="Retrieve sanitize log and show it." ; +const char *desc ="Retrieve sanitize log and show it." ;int fd;int ret;__u8 output[NVME_SANITIZE_LOG_DATA_LEN ] = {0 };
Signature · 1 line
2.7.4
Keith Busch
AppliedPATCH 1/1 nvme-cli: make command description const
Quoted 3 lines · Minwoo Im
Make desc in
sanitize_log()const.Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
Applied, thanks.