From: Minwoo Im Date: Sat, 28 Oct 2017 18:26:33 +0000 (+0900) Subject: nvme-cli: make command description const X-Git-Tag: v1.5~34 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4324c9b80b55f62005759d83ed20334ef9b6ee39;p=users%2Fhch%2Fnvme-cli.git nvme-cli: make command description const Make desc in sanitize_log() const. Signed-off-by: Minwoo Im --- diff --git a/nvme.c b/nvme.c index 9ac6a3c..ed1c61f 100644 --- a/nvme.c +++ b/nvme.c @@ -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};