mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-26 02:29:50 +05:30
clock-malfunction-imitation.c: fix the comment
This commit is contained in:
parent
1b0b255229
commit
f4b69e0f9f
@ -141,7 +141,7 @@ void time_flow_test(time_t (*time_function)(time_t*)) {
|
||||
printf("time difference: %f", time_diff);
|
||||
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) {
|
||||
printf(" -> Abnormal time flow detected!");
|
||||
fflush(stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user