LibC: Fix clock_gettime return value

This commit is contained in:
Bananymous 2026-01-11 22:44:03 +02:00
parent c9a8f5b456
commit 9ffbb9fbf0
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ int clock_gettime(clockid_t clock_id, struct timespec* tp)
if (clock_id == CLOCK_REALTIME) if (clock_id == CLOCK_REALTIME)
tp->tv_sec += sgettime.realtime_seconds; tp->tv_sec += sgettime.realtime_seconds;
return monotonic_ns; return 0;
} }
} }