Skip to content

Commit 026a262

Browse files
committed
nits: remove warnings
1 parent 7295f20 commit 026a262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libfaketime.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4445,11 +4445,11 @@ static inline long make_futex_syscall(long number, uint32_t* uaddr, int futex_op
44454445
return real_syscall(number, uaddr, futex_op, val, timeout, uaddr2, val3);
44464446
}
44474447
if (timeout->tv_sec < 0) {
4448-
fprintf(stderr, "libfaketime: invalid timeout.tv_sec < 0\n");
4448+
// fprintf(stderr, "libfaketime: invalid timeout.tv_sec < 0\n");
44494449
timeout->tv_sec = 0;
44504450
}
44514451
if (timeout->tv_nsec < 0) {
4452-
fprintf(stderr, "libfaketime: invalid timeout.tv_nsec < 0\n");
4452+
// fprintf(stderr, "libfaketime: invalid timeout.tv_nsec < 0\n");
44534453
timeout->tv_nsec = 0;
44544454
}
44554455
return real_syscall(number, uaddr, futex_op, val, timeout, uaddr2, val3);

0 commit comments

Comments
 (0)