]> granicus.if.org Git - strace/commit
tests: do not use settimeofday wrapper provided by libc
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Jan 2016 01:47:42 +0000 (01:47 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Jan 2016 13:06:31 +0000 (13:06 +0000)
commit8249eeb5d48a2af61b565fd2636d34997309d44b
tree85932d9e6d8e984cd67990d0da097fb270475dd7
parent19ff2b2ee778718b2600d02031a22974199db593
tests: do not use settimeofday wrapper provided by libc

Workaround limitations of settimeofday wrapper provided by musl libc.

* tests/xettimeofday.c (main): Call settimeofday using syscall().

Reported-by: Szabolcs Nagy <nsz@port70.net>
tests/xettimeofday.c