Skip to content

Commit 1fe405a

Browse files
Minh Hoang (Storage HW)igaw
authored andcommitted
Fixed OCP Latency Monitor stdout spacing in column header
The Latency Monitor stdout has a space delimited table. This fix properly aligns the column headers (Read, Write, and Deallocate/Trim) with the rest of the table. Signed-off-by: Minh Hoang (Storage HW) <[email protected]>
1 parent c298ea0 commit 1fe405a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/ocp/ocp-print-stdout.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static void stdout_c3_log(struct nvme_dev *dev, struct ssd_latency_monitor_log *
321321
printf(" Log Page GUID %s\n", guid);
322322
printf("\n");
323323

324-
printf("%64s%92s%119s\n", "Read", "Write", "Deallocate/Trim");
324+
printf("%64s %27s %27s\n", "Read", "Write", "Deallocate/Trim");
325325
for (i = 0; i < C3_BUCKET_NUM; i++) {
326326
printf(" Active Bucket Counter: Bucket %d %27d %27d %27d\n",
327327
i,

0 commit comments

Comments
 (0)