summaryrefslogtreecommitdiff
path: root/src/unistd/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/alarm.c')
-rw-r--r--src/unistd/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/alarm.c b/src/unistd/alarm.c
index bba444d8..244af1c0 100644
--- a/src/unistd/alarm.c
+++ b/src/unistd/alarm.c
@@ -3,5 +3,5 @@
unsigned alarm(unsigned seconds)
{
- return syscall1(__NR_alarm, seconds);
+ return syscall(SYS_alarm, seconds);
}