aboutsummaryrefslogtreecommitdiff
path: root/toys/other/tac.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-20 16:03:29 -0600
committerElliott Hughes <enh@google.com>2015-01-20 16:03:29 -0600
commitef0546d4f536f42a57af4c32bd37f7fd752d10c2 (patch)
tree943862c91cdeeb926162145ee7c8548b2f1c30da /toys/other/tac.c
parent9d1d0ad1236d3c2d85e6c244d148f5ae8f589631 (diff)
downloadtoybox-ef0546d4f536f42a57af4c32bd37f7fd752d10c2.tar.gz
fix hwclock's rtc selection
For systems using /dev/rtcN, /dev/rtc0 isn't necessarily the RTC that's used to provide the system time at boot time. We need to search for the RTC whose /sys/class/rtc/rtcN/hctosys contains "1".
Diffstat (limited to 'toys/other/tac.c')
0 files changed, 0 insertions, 0 deletions