summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-06-02 11:01:40 +0000
committerBernhard Reutner-Fischer2008-06-02 11:01:40 +0000
commit9af7aba579184fb86f971302316f09210bf1de9d (patch)
tree98ce38b07d67b2d8d5c42dfd881c98658a4fb5a5 /util-linux
parentb8e653bfbfeee7797e631d6d47cd9cddb7658e4b (diff)
downloadbusybox-9af7aba579184fb86f971302316f09210bf1de9d.zip
busybox-9af7aba579184fb86f971302316f09210bf1de9d.tar.gz
- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
Thanks to Paulius Zaleckas for mentioning this.
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/rtcwake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c
index 515f812..2b2634f 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -26,7 +26,7 @@
#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup"
#define SYS_POWER_PATH "/sys/power/state"
-#define DEFAULT_MODE "suspend"
+#define DEFAULT_MODE "standby"
static time_t rtc_time;