projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix indention with spaces in powerpc asm
[oweals/musl.git]
/
src
/
time
/
timer_getoverrun.c
diff --git
a/src/time/timer_getoverrun.c
b/src/time/timer_getoverrun.c
index 1334e451cb1a259f22249adf0da147dea63dc1c9..8a86833d4a481a9f9dbb19ccba9e110dfad2aca9 100644
(file)
--- a/
src/time/timer_getoverrun.c
+++ b/
src/time/timer_getoverrun.c
@@
-3,5
+3,6
@@
int timer_getoverrun(timer_t t)
{
- return syscall(SYS_timer_getoverrun, t->timerid);
+ if ((uintptr_t)t >= 0x100000) t = ((pthread_t)t)->result;
+ return syscall(SYS_timer_getoverrun, (long)t);
}