summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-01-14 09:38:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-14 09:38:29 +0100
commit83b2c24e3933ec4f108c715991f0ddef56a2a3aa (patch)
tree08dd8046f679b1f5802ddd273b8ec46a1f3c0fcd
parentb92057584f09d442f27b9177b12fe6fdf36ddbaf (diff)
clock_adjtime: warn instead of error out
-rw-r--r--libc/sysdeps/linux/common/clock_adjtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/clock_adjtime.c b/libc/sysdeps/linux/common/clock_adjtime.c
index 53f64e9d5..ada256ccd 100644
--- a/libc/sysdeps/linux/common/clock_adjtime.c
+++ b/libc/sysdeps/linux/common/clock_adjtime.c
@@ -15,5 +15,5 @@ _syscall2_64(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx)
#elif defined(__NR_clock_adjtime)
_syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx)
#else
-#error "clock_adjtime syscall is not defined!"
+#warning "clock_adjtime syscall is not defined!"
#endif