diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-06-02 20:07:39 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-06-02 20:07:39 -0400 |
commit | ef51b762225e5e436f69bcbeb7ad04735da6dcce (patch) | |
tree | f5573aad3485ab92adcf99ba4703b0c888c4606f /src/linux/clock_adjtime.c | |
parent | 3e16313f8fe2ed143ae0267fd79d63014c24779f (diff) | |
download | musl-ef51b762225e5e436f69bcbeb7ad04735da6dcce.tar.gz musl-ef51b762225e5e436f69bcbeb7ad04735da6dcce.tar.bz2 musl-ef51b762225e5e436f69bcbeb7ad04735da6dcce.tar.xz musl-ef51b762225e5e436f69bcbeb7ad04735da6dcce.zip |
fix broken time64 clock_adjtime
the 64-bit time code path used the wrong (time32) syscall. fortunately
this code path is not yet taken unless attempting to set a post-Y2038
time.
Diffstat (limited to 'src/linux/clock_adjtime.c')
-rw-r--r-- | src/linux/clock_adjtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/clock_adjtime.c b/src/linux/clock_adjtime.c index 23eb8729..52d3e0c4 100644 --- a/src/linux/clock_adjtime.c +++ b/src/linux/clock_adjtime.c @@ -63,7 +63,7 @@ int clock_adjtime (clockid_t clock_id, struct timex *utx) .stbcnt = utx->stbcnt, .tai = utx->tai, }; - r = __syscall(SYS_clock_adjtime, clock_id, &ktx); + r = __syscall(SYS_clock_adjtime64, clock_id, &ktx); if (r>=0) { utx->modes = ktx.modes; utx->offset = ktx.offset; |