Skip to content

Commit

Permalink
Merge pull request #1714 from neheb/patch-2
Browse files Browse the repository at this point in the history
fix -Wformat-y2k error
  • Loading branch information
bmah888 authored Jun 27, 2024
2 parents 8f5a87e + 33838da commit f52bfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ iperf_errexit(struct iperf_test *test, const char *format, ...)
if (test != NULL && test->timestamps) {
time(&now);
ltm = localtime(&now);
strftime(iperf_timestrerr, sizeof(iperf_timestrerr), "%c ", ltm);
strftime(iperf_timestrerr, sizeof(iperf_timestrerr), iperf_get_test_timestamp_format(test), ltm);
ct = iperf_timestrerr;
}

Expand Down

0 comments on commit f52bfa3

Please sign in to comment.