Skip to content

Commit 8e360e3

Browse files
committed
fabrics: dump config on stdout
The config should be dumped on stdout not stderr. Fixes: 74b30d2 ("json: update nvme_dump_config to a file descriptor") Signed-off-by: Daniel Wagner <[email protected]>
1 parent 4bf149f commit 8e360e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fabrics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ int fabrics_connect(const char *desc, int argc, char **argv)
679679
}
680680

681681
if (dump_config)
682-
nvme_dump_config(ctx, STDERR_FILENO);
682+
nvme_dump_config(ctx, STDOUT_FILENO);
683683

684684
return 0;
685685
}

0 commit comments

Comments
 (0)