summaryrefslogtreecommitdiffstats
path: root/plugins/fdp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:57:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:57:49 +0000
commitfc67d3ad9a2903cc33e5cdaedaad51dd86a42236 (patch)
tree4ef72536a965fe220e71aea78b76b6bbbac2ed59 /plugins/fdp
parentAdding upstream version 2.5. (diff)
downloadnvme-cli-fc67d3ad9a2903cc33e5cdaedaad51dd86a42236.tar.xz
nvme-cli-fc67d3ad9a2903cc33e5cdaedaad51dd86a42236.zip
Adding upstream version 2.7.1.upstream/2.7.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--plugins/fdp/fdp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/fdp/fdp.c b/plugins/fdp/fdp.c
index 8539e18..2a221f8 100644
--- a/plugins/fdp/fdp.c
+++ b/plugins/fdp/fdp.c
@@ -56,7 +56,7 @@ static int fdp_configs(int argc, char **argv, struct command *cmd,
if (err)
return err;
- err = flags = validate_output_format(cfg.output_format);
+ err = validate_output_format(cfg.output_format, &flags);
if (flags < 0)
goto out;
@@ -137,7 +137,7 @@ static int fdp_usage(int argc, char **argv, struct command *cmd, struct plugin *
if (err)
return err;
- err = flags = validate_output_format(cfg.output_format);
+ err = validate_output_format(cfg.output_format, &flags);
if (flags < 0)
goto out;
@@ -208,7 +208,7 @@ static int fdp_stats(int argc, char **argv, struct command *cmd, struct plugin *
if (err)
return err;
- err = flags = validate_output_format(cfg.output_format);
+ err = validate_output_format(cfg.output_format, &flags);
if (flags < 0)
goto out;
@@ -269,7 +269,7 @@ static int fdp_events(int argc, char **argv, struct command *cmd, struct plugin
if (err)
return err;
- err = flags = validate_output_format(cfg.output_format);
+ err = validate_output_format(cfg.output_format, &flags);
if (flags < 0)
goto out;
@@ -328,7 +328,7 @@ static int fdp_status(int argc, char **argv, struct command *cmd, struct plugin
if (err)
return err;
- err = flags = validate_output_format(cfg.output_format);
+ err = validate_output_format(cfg.output_format, &flags);
if (flags < 0)
goto out;