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
/
time.c
diff --git
a/src/time/time.c
b/src/time/time.c
index 2d2cfd44329a28b019ea836690c128d098443d47..05e075b95273466114941e2bf3c20f62f19a060c 100644
(file)
--- 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;
}