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
/
gettimeofday.c
diff --git
a/src/time/gettimeofday.c
b/src/time/gettimeofday.c
index 2b8a287d36bd25fe5949ac23a09fbfb8526ec441..2436e490410707a69d20ea820b5f4294cc1420ea 100644
(file)
--- a/
src/time/gettimeofday.c
+++ b/
src/time/gettimeofday.c
@@
-1,9
+1,8
@@
-#define SYSCALL_RETURN_ERRNO
#include <sys/time.h>
#include "syscall.h"
int gettimeofday(struct timeval *tv, void *tz)
{
-
syscall2(__NR_gettimeofday, (long)
tv, 0);
+
__syscall(SYS_gettimeofday,
tv, 0);
return 0;
}