Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update

Signed-off-by: jinhua.huang <[email protected]>
  • Loading branch information
jinhuahuang2021 committed Dec 27, 2023
1 parent f827dda commit 0e7cb06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/memblaze/memblaze-nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,8 @@ static void high_latency_log_v1_print(struct high_latency_log *log, int size)
char str_time_s[20] = {0};
char str_time_ms[32] = {0};

strftime(str_time_s, sizeof(str_time_s), "%Y-%m-%d %H:%M:%S", localtime(&timestamp_s));
strftime(str_time_s, sizeof(str_time_s), "%Y-%m-%d %H:%M:%S",
localtime(&timestamp_s));
snprintf(str_time_ms, sizeof(str_time_ms), "%s.%03d", str_time_s, time_ms);
printf("%-24s", str_time_ms);

Expand Down

0 comments on commit 0e7cb06

Please sign in to comment.