summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-02 11:01:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-02 11:01:40 +0000
commit9af7aba579184fb86f971302316f09210bf1de9d (patch)
tree98ce38b07d67b2d8d5c42dfd881c98658a4fb5a5
parentb8e653bfbfeee7797e631d6d47cd9cddb7658e4b (diff)
- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
Thanks to Paulius Zaleckas for mentioning this.
-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 515f812b3..2b2634f0b 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;