summaryrefslogtreecommitdiff
path: root/src/time/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/time.c')
-rw-r--r--src/time/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/time.c b/src/time/time.c
index 2d2cfd44..05e075b9 100644
--- a/src/time/time.c
+++ b/src/time/time.c
@@ -5,7 +5,7 @@
time_t time(time_t *t)
{
struct timeval tv;
- __syscall(__NR_gettimeofday, &tv, 0);
+ __syscall(SYS_gettimeofday, &tv, 0);
if (t) *t = tv.tv_sec;
return tv.tv_sec;
}