diff --git a/tools/dumpconfig.c b/tools/dumpconfig.c index f1fa50798..af5ab97b5 100644 --- a/tools/dumpconfig.c +++ b/tools/dumpconfig.c @@ -32,7 +32,7 @@ int dumpconfig(struct cmd_context *cmd, int argc, char **argv) return EINVALID_CMD_LINE; } - if (!write_config_file(cmd->cft, file)) + if (!write_config_file(cmd->cf, file)) return ECMD_FAILED; return ECMD_PROCESSED;