hwclock: fix sizeof bug (used it on pointer, not array); make --systohc exact
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 6 Jan 2010 17:16:39 +0000 (18:16 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 6 Jan 2010 17:16:39 +0000 (18:16 +0100)
commit695fa51c80047eb25cc82e6e1630b4545a6bc0b6
treeaaee37e1b947c40dd660dc2ccb77ac20895e13f8
parent06667f21d6d28bf3acbc12474cf52c9bc20c884b
hwclock: fix sizeof bug (used it on pointer, not array); make --systohc exact

function                                             old     new   delta
hwclock_main                                         329     428     +99
rtc_adjtime_is_utc                                   138     134      -4
edir                                                 365     354     -11
read_rtc                                              39      23     -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 99/-31)             Total: 68 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/rtc.c
networking/tc.c
runit/chpst.c
util-linux/hwclock.c