]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Fixing compile error introduced by #580
authorBen Reese <5884008+benreese0@users.noreply.github.com>
Tue, 10 Mar 2020 23:53:17 +0000 (16:53 -0700)
committerKeith Busch <kbusch@kernel.org>
Wed, 11 Mar 2020 02:05:53 +0000 (20:05 -0600)
Fixing incompatibility between #580 and
e5786ad7ffa4734249c99bede2323a4d4cbb51ab.

Signed-off-by: Ben Reese <5884008+benreese0@users.noreply.github.com>
plugins/intel/intel-nvme.c

index f083419d53cc12138acf68ce87057fe88bdfbde2..d3efa27a64f938266f774af54c93ba630881eb16 100644 (file)
@@ -1250,8 +1250,7 @@ static int enable_lat_stats_tracking(int argc, char **argv,
                {NULL}
        };
 
-       fd = parse_and_open(argc, argv, desc, command_line_options, &cfg,
-                       sizeof(cfg));
+       fd = parse_and_open(argc, argv, desc, command_line_options);
 
        enum Option {
                None = -1,