aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-06-02 20:37:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-06-02 20:37:45 +0000
commit85571d8d01a091c36bbbf13f72c0f8733663f923 (patch)
treeb0075486a8264ea483048e5bb54d967d672a8e87
parent6075b2aee08f0ed6e4380c28e8f5152a52fad773 (diff)
downloadbusybox-w32-85571d8d01a091c36bbbf13f72c0f8733663f923.tar.gz
busybox-w32-85571d8d01a091c36bbbf13f72c0f8733663f923.tar.bz2
busybox-w32-85571d8d01a091c36bbbf13f72c0f8733663f923.zip
make the help for rtcwake reflect the actual default behavior
-rw-r--r--include/usage.h2
-rw-r--r--util-linux/rtcwake.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 2e5321306..7e72ad03a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3308,7 +3308,7 @@
3308 "\n -l,--local Clock is set to local time" \ 3308 "\n -l,--local Clock is set to local time" \
3309 "\n -u,--utc Clock is set to UTC time" \ 3309 "\n -u,--utc Clock is set to UTC time" \
3310 "\n -d,--device=DEV Specify the RTC device" \ 3310 "\n -d,--device=DEV Specify the RTC device" \
3311 "\n -m,--mode=MODE Set the sleep state (default: standby)" \ 3311 "\n -m,--mode=MODE Set the sleep state (default: suspend)" \
3312 "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ 3312 "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \
3313 "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ 3313 "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \
3314 ) \ 3314 ) \
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c
index 2b2634f0b..515f812b3 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -26,7 +26,7 @@
26 26
27#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup" 27#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup"
28#define SYS_POWER_PATH "/sys/power/state" 28#define SYS_POWER_PATH "/sys/power/state"
29#define DEFAULT_MODE "standby" 29#define DEFAULT_MODE "suspend"
30 30
31static time_t rtc_time; 31static time_t rtc_time;
32 32