summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/adjtimex.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-10-28 14:55:22 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-10-31 11:09:25 -0300
commitc81aa64e81826c308c4ecbd1982fa086ca6e647b (patch)
tree5c11f548813e9b580ef0b47e1c983154f6d8d816 /sysdeps/unix/sysv/linux/adjtimex.c
parent6b1472eb2ea16f99c4729f975ca25af980ce3894 (diff)
downloadglibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.gz
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.bz2
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.zip
Refactor adjtimex based on clock_adjtime
Checked on x86_64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/adjtimex.c')
-rw-r--r--sysdeps/unix/sysv/linux/adjtimex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/adjtimex.c b/sysdeps/unix/sysv/linux/adjtimex.c
index 6d62c72a17..95be503109 100644
--- a/sysdeps/unix/sysv/linux/adjtimex.c
+++ b/sysdeps/unix/sysv/linux/adjtimex.c
@@ -22,7 +22,7 @@
int
___adjtimex (struct timex *buf)
{
- return INLINE_SYSCALL_CALL (adjtimex, buf);
+ return __clock_adjtime (CLOCK_REALTIME, buf);
}
#ifdef VERSION_adjtimex