Browse Source

clock_adjtime: warn instead of error out

Waldemar Brodkorb 3 months ago
parent
commit
83b2c24e39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/clock_adjtime.c

+ 1 - 1
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