aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/getty.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-10 00:57:22 -0500
committerRob Landley <rob@landley.net>2015-07-10 00:57:22 -0500
commitfd4b56a159b9080a329d4471313d636f2b292ad5 (patch)
tree26dfc07f93e06898a83960fb4049331daf346b03 /toys/pending/getty.c
parent666b89d8c829b2f1d0301f78208b772645942e23 (diff)
downloadtoybox-fd4b56a159b9080a329d4471313d636f2b292ad5.tar.gz
Fix hwclock -w.
The gmtime_r/localtime_r error check was backwards, and the wrong argument was being passed to the RTC_SET_TIME ioctl. Also, the error reporting was misleading (showing errno for functions that don't set errno) and too vague for the user to tell what failed.
Diffstat (limited to 'toys/pending/getty.c')
0 files changed, 0 insertions, 0 deletions