diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-06 20:32:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-06 20:32:53 -0400 |
commit | c2cd25bff89c3581780e7eb267262cb8c4da0d38 (patch) | |
tree | 797423120c0c83bbf148e4e5acd305e90b1ee0a8 /src/time/time.c | |
parent | b2486a8922bf4977bd82c8190258e39de28c053b (diff) | |
download | musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.tar.gz musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.tar.bz2 musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.tar.xz musl-c2cd25bff89c3581780e7eb267262cb8c4da0d38.zip |
consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
Diffstat (limited to 'src/time/time.c')
-rw-r--r-- | src/time/time.c | 2 |
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; } |