]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: do not assume __NR_settimeofday_time32
authorPino Toscano <toscano.pino@tiscali.it>
Tue, 17 Nov 2020 10:32:45 +0000 (11:32 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2021 08:32:42 +0000 (09:32 +0100)
commit262ff9bf04e862dcfca8f3d0cb2c6bd2edaff327
tree120b3dae55adf516f12f738ed3e72d16795c89c0
parent5e0dc74924354c5251e138cd8d69345aa3ab08ca
hwclock: do not assume __NR_settimeofday_time32

Check that __NR_settimeofday_time32 exists before trying to use it as
syscall number.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
sys-utils/hwclock.c