summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorEddie James2020-08-10 09:59:02 -0500
committerDenys Vlasenko2020-08-15 22:29:00 +0200
commit1a5d6fcbb5e606ab4acdf22afa26361a25f1d43b (patch)
treece68e4c6412be03ebe27f71ea6b55b9f2de5b2ed /util-linux/swaponoff.c
parenta77f3ecf68c63081934f5e0800eab80b5098bb24 (diff)
downloadbusybox-1a5d6fcbb5e606ab4acdf22afa26361a25f1d43b.zip
busybox-1a5d6fcbb5e606ab4acdf22afa26361a25f1d43b.tar.gz
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/swaponoff.c')
0 files changed, 0 insertions, 0 deletions