mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-26 11:30:03 +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);
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user