aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/adjtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/adjtime.c')
-rw-r--r--sysdeps/unix/sysv/linux/adjtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/adjtime.c b/sysdeps/unix/sysv/linux/adjtime.c
index 3673cd9..8400e1b 100644
--- a/sysdeps/unix/sysv/linux/adjtime.c
+++ b/sysdeps/unix/sysv/linux/adjtime.c
@@ -43,10 +43,10 @@ __adjtime (itv, otv)
return -1;
}
tntx.offset = tmp.tv_usec + tmp.tv_sec * 1000000L;
- tntx.mode = ADJ_OFFSET_SINGLESHOT;
+ tntx.modes = ADJ_OFFSET_SINGLESHOT;
}
else
- tntx.mode = 0;
+ tntx.modes = 0;
if (__adjtimex (&tntx) < 0) return -1;