From 7d01a1bdac2bec25ea065301ee5f36eb1504c6f5 Mon Sep 17 00:00:00 2001 From: Jeff Lien Date: Tue, 3 Sep 2019 14:39:25 -0500 Subject: [PATCH] [NVMe-CLI] Fix offset parameter size for vs-internal-log wdc plugin command. --- plugins/wdc/wdc-nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wdc/wdc-nvme.c b/plugins/wdc/wdc-nvme.c index c25e2262..10b20367 100644 --- a/plugins/wdc/wdc-nvme.c +++ b/plugins/wdc/wdc-nvme.c @@ -1914,7 +1914,7 @@ static int wdc_vs_internal_fw_log(int argc, char **argv, struct command *command {"transfer-size", 's', "NUM", CFG_POSITIVE, &cfg.xfer_size, required_argument, size}, {"data-area", 'd', "NUM", CFG_POSITIVE, &cfg.data_area, required_argument, data_area}, {"file-size", 'f', "NUM", CFG_POSITIVE, &cfg.file_size, required_argument, file_size}, - {"offset", 't', "NUM", CFG_POSITIVE, &cfg.offset, required_argument, offset}, + {"offset", 't', "NUM", CFG_LONG, &cfg.offset, required_argument, offset}, {"verbose", 'v', "", CFG_NONE, &cfg.verbose, no_argument, verbose}, { NULL, '\0', NULL, CFG_NONE, NULL, no_argument, desc}, }; -- 2.50.1