summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2004-03-10 10:47:37 +0000
committerGlenn L McGrath2004-03-10 10:47:37 +0000
commitb7b3bda3ba0d3a49ac2ebbb422fe3bec99e2b0b9 (patch)
tree833347b3e5d2e70fde3a3dd48202e6e204f6530a
parentc66ebe4200af584b9101bcadc4a11509db8318a1 (diff)
downloadbusybox-b7b3bda3ba0d3a49ac2ebbb422fe3bec99e2b0b9.zip
busybox-b7b3bda3ba0d3a49ac2ebbb422fe3bec99e2b0b9.tar.gz
Patch from Thomas Frohlich to fix an option ordering bug of mine.
-rw-r--r--util-linux/hwclock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index e62a645..e089b1d 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -183,9 +183,9 @@ static int check_utc(void)
}
#define HWCLOCK_OPT_LOCALTIME 1
-#define HWCLOCK_OPT_UTC 8
-#define HWCLOCK_OPT_SHOW 2
-#define HWCLOCK_OPT_HCTOSYS 4
+#define HWCLOCK_OPT_UTC 2
+#define HWCLOCK_OPT_SHOW 4
+#define HWCLOCK_OPT_HCTOSYS 8
#define HWCLOCK_OPT_SYSTOHC 16
extern int hwclock_main ( int argc, char **argv )