1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30

clock-malfunction-imitation.c: fix the comment

This commit is contained in:
Intel A80486DX2-66 2024-06-26 00:02:14 +03:00
parent 1b0b255229
commit f4b69e0f9f
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -141,7 +141,7 @@ void time_flow_test(time_t (*time_function)(time_t*)) {
printf("time difference: %f", time_diff); printf("time difference: %f", time_diff);
fflush(stdout); fflush(stdout);
// Check if the time difference exceeds a threshold (e.g., 1 second) // Check if the time difference is not normal
if (time_diff != (double) SECOND_PRECISION) { if (time_diff != (double) SECOND_PRECISION) {
printf(" -> Abnormal time flow detected!"); printf(" -> Abnormal time flow detected!");
fflush(stdout); fflush(stdout);