]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/timeutils.c: warn format_iso_time() overflow
authorJ William Piggott <elseifthen@gmx.com>
Sat, 9 Dec 2017 23:43:29 +0000 (18:43 -0500)
committerJ William Piggott <elseifthen@gmx.com>
Sat, 9 Dec 2017 23:43:29 +0000 (18:43 -0500)
commit6cdc7b9c02b251120eb014c4dbc2387d47e7fb46
tree527c8eca8184214d0d19403f55f4e94bc93364bd
parent2d9a0b0adb509d568576ff51c6511d1eb21c8938
lib/timeutils.c: warn format_iso_time() overflow

Print a message when the format_iso_time() buffer is exceeded, because
there is more than one type of failure that returns -1.

Also remove the corresponding message from hwclock.c.

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