projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the %m specifier in syslog
[musl]
/
src
/
time
/
timer_settime.c
diff --git
a/src/time/timer_settime.c
b/src/time/timer_settime.c
index
f5f36fe
..
62631aa
100644
(file)
--- a/
src/time/timer_settime.c
+++ b/
src/time/timer_settime.c
@@
-8,5
+8,5
@@
int timer_settime(timer_t t, int flags, const struct itimerspec *restrict val, s
pthread_t td = (void *)((uintptr_t)t << 1);
t = (void *)(uintptr_t)(td->timer_id & INT_MAX);
}
pthread_t td = (void *)((uintptr_t)t << 1);
t = (void *)(uintptr_t)(td->timer_id & INT_MAX);
}
- return syscall(SYS_timer_settime,
(long)
t, flags, val, old);
+ return syscall(SYS_timer_settime, t, flags, val, old);
}
}