Skip to content

Commit 31862b9

Browse files
francispravin5igaw
authored andcommitted
nvme-print-stdout: fix to print the log line by line
Fix to print the log within one line per each FID & NVMe-MI Command while printing in human readable form. Signed-off-by: Francis Pravin <francis.p@samsung.com>
1 parent 0420a39 commit 31862b9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nvme-print-stdout.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@ static void stdout_fid_support_effects_log(struct nvme_fid_supported_effects_log
623623
fid_effect);
624624
if (human)
625625
stdout_fid_support_effects_log_human(fid_effect);
626-
else
627-
printf("\n");
626+
printf("\n");
628627
}
629628
}
630629
}
@@ -666,8 +665,7 @@ static void stdout_mi_cmd_support_effects_log(struct nvme_mi_cmd_supported_effec
666665
mi_cmd_effect);
667666
if (human)
668667
stdout_mi_cmd_support_effects_log_human(mi_cmd_effect);
669-
else
670-
printf("\n");
668+
printf("\n");
671669
}
672670
}
673671
}

0 commit comments

Comments
 (0)