diff options
author | Eddie James <eajames@linux.ibm.com> | 2020-08-10 09:59:02 -0500 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-15 22:29:00 +0200 |
commit | 1a5d6fcbb5e606ab4acdf22afa26361a25f1d43b (patch) | |
tree | ce68e4c6412be03ebe27f71ea6b55b9f2de5b2ed /util-linux/setarch.c | |
parent | a77f3ecf68c63081934f5e0800eab80b5098bb24 (diff) |
hwclock: Fix settimeofday for glibc v2.31+
The glibc implementation changed for settimeofday, resulting in "invalid
argument" error when attempting to set both timezone and time with a single
call. Fix this by calling settimeofday twice
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/setarch.c')
0 files changed, 0 insertions, 0 deletions