Bug#478663: hwclock --systohc --noadjfile --utc must not fail when reading the rtc fails

2009-05-08 Thread Aurelien Jarno
fixed 478663 2.15~rc2-1 thanks On Wed, Apr 30, 2008 at 09:19:52AM +0200, Uwe Kleine-König wrote: Package: util-linux Version: 2.12r-19etch1 Severity: normal File: /sbin/hwclock Hello, I have a system here with an rtc that knows when it's not set up correctly and so ioctl(fd,

Bug#478663: hwclock --systohc --noadjfile --utc must not fail when reading the rtc fails

2008-04-30 Thread Uwe Kleine-König
Package: util-linux Version: 2.12r-19etch1 Severity: normal File: /sbin/hwclock Hello, I have a system here with an rtc that knows when it's not set up correctly and so ioctl(fd, RTC_RD_TIME, rtc_time); returns -1, errno=EINVAL. The same holds for ioctl(fd, RTC_UIE_ON, 0);