Skip to content

Commit a7e575e

Browse files
author
Karthik Balan [email protected]
committed
ocp: fix telemetry string log output file handling
Fixed the code to avoid binary file creation by tool for ocp Signed-off-by: Karthik Balan [email protected] <[email protected]>
1 parent 22948ef commit a7e575e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugins/ocp/ocp-nvme.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,10 +2502,7 @@ static int get_c9_log_page(struct nvme_dev *dev, char *format)
25022502
return ret;
25032503
}
25042504

2505-
if (fmt == BINARY)
2506-
ret = get_c9_log_page_data(dev, 0, 1);
2507-
else
2508-
ret = get_c9_log_page_data(dev, 0, 0);
2505+
ret = get_c9_log_page_data(dev, 0, 0);
25092506

25102507
if (!ret) {
25112508
ocp_c9_log(log_data, pC9_string_buffer, total_log_page_sz, fmt);

0 commit comments

Comments
 (0)