LibC: Fix clock_gettime return value
This commit is contained in:
parent
c9a8f5b456
commit
9ffbb9fbf0
|
|
@ -62,7 +62,7 @@ int clock_gettime(clockid_t clock_id, struct timespec* tp)
|
|||
if (clock_id == CLOCK_REALTIME)
|
||||
tp->tv_sec += sgettime.realtime_seconds;
|
||||
|
||||
return monotonic_ns;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue