|
|
@ -38,7 +38,6 @@ int clock_adjtime (clockid_t clock_id, struct timex *utx) |
|
|
{ |
|
|
{ |
|
|
int r = -ENOSYS; |
|
|
int r = -ENOSYS; |
|
|
#ifdef SYS_clock_adjtime64 |
|
|
#ifdef SYS_clock_adjtime64 |
|
|
if (1) { |
|
|
|
|
|
struct ktimex64 ktx = { |
|
|
struct ktimex64 ktx = { |
|
|
.modes = utx->modes, |
|
|
.modes = utx->modes, |
|
|
.offset = utx->offset, |
|
|
.offset = utx->offset, |
|
|
@ -86,7 +85,6 @@ int clock_adjtime (clockid_t clock_id, struct timex *utx) |
|
|
utx->stbcnt = ktx.stbcnt; |
|
|
utx->stbcnt = ktx.stbcnt; |
|
|
utx->tai = ktx.tai; |
|
|
utx->tai = ktx.tai; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if (SYS_clock_adjtime == SYS_clock_adjtime64 || r!=-ENOSYS) |
|
|
if (SYS_clock_adjtime == SYS_clock_adjtime64 || r!=-ENOSYS) |
|
|
return __syscall_ret(r); |
|
|
return __syscall_ret(r); |
|
|
if ((utx->modes & ADJ_SETOFFSET) && !IS32BIT(utx->time.tv_sec)) |
|
|
if ((utx->modes & ADJ_SETOFFSET) && !IS32BIT(utx->time.tv_sec)) |
|
|
|