Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhuahuang2021 committed Dec 27, 2023
1 parent 012d29e commit 7812fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/memblaze/memblaze-nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ static void high_latency_log_v1_print(struct high_latency_log *log, int size)
time_t timestamp_s = timestamp_ms / 1000;
int time_ms = timestamp_ms % 1000;
char str_time_s[20] = {0};
char str_time_ms[24] = {0};
char str_time_ms[32] = {0};

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);
Expand Down

0 comments on commit 7812fd2

Please sign in to comment.