projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
type directives for x86_64 math asm
[oweals/musl.git]
/
src
/
time
/
nanosleep.c
diff --git
a/src/time/nanosleep.c
b/src/time/nanosleep.c
index 0e0753f3a78a47ee1a6bd862c39e5123ebcef8f5..c8878b11c7184986d3053e4383cbd57e07e976bf 100644
(file)
--- a/
src/time/nanosleep.c
+++ b/
src/time/nanosleep.c
@@
-5,10
+5,5
@@
int nanosleep(const struct timespec *req, struct timespec *rem)
{
- int ret;
- CANCELPT_BEGIN;
- ret = syscall(SYS_nanosleep, req, rem);
- CANCELPT_TRY;
- CANCELPT_END;
- return ret;
+ return syscall_cp(SYS_nanosleep, req, rem);
}