diff options
author | Elliott Hughes <enh@google.com> | 2015-07-10 00:57:22 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-07-10 00:57:22 -0500 |
commit | fd4b56a159b9080a329d4471313d636f2b292ad5 (patch) | |
tree | 26dfc07f93e06898a83960fb4049331daf346b03 /scripts/mkflags.c | |
parent | 666b89d8c829b2f1d0301f78208b772645942e23 (diff) | |
download | toybox-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 'scripts/mkflags.c')
0 files changed, 0 insertions, 0 deletions