From: KLZ-0 Date: Fri, 1 May 2020 22:09:23 +0000 (+0200) Subject: Improve error message X-Git-Tag: v1.12~22 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=04277257d472bd271a020f7193725da71dea769d;p=users%2Fhch%2Fnvme-cli.git Improve error message --- diff --git a/nvme.c b/nvme.c index df803ef..9f40477 100644 --- a/nvme.c +++ b/nvme.c @@ -1093,7 +1093,7 @@ static int nvme_attach_ns(int argc, char **argv, int attach, const char *desc, s } if (num == -1) { - fprintf(stderr, "%s: controller id list is required\n", + fprintf(stderr, "%s: controller id list is malformed\n", cmd->name); err = -EINVAL; goto close_fd;