]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: restore select() timeout warning
authorJ William Piggott <elseifthen@gmx.com>
Mon, 31 Jul 2017 13:20:58 +0000 (09:20 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Fri, 4 Aug 2017 12:53:45 +0000 (08:53 -0400)
commitbbf12e45f8b60a22e081993b4d3612d0e7f1805e
tree2c936883044525e313fbef68844a92403b4f0c98
parentfefc39f965431f7e4dd11715ce8d9176d618152a
hwclock: restore select() timeout warning

hwclock now exits on select(2) timeout so restore the warning.

Reverts commit ab8f402952301106ad0bd5c5a51dc8646d1bff64
 and    commit efc4eaf4229f78f14430d8739ddef2c5101f05cc

Except use warnx(), because select() timeout does not set errno.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock-rtc.c