Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> --- sys-utils/rtcwake.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index d9c9fbb..6cb5e7b 100644 --- a/sys-utils/rtcwake.c +++ b/sys-utils/rtcwake.c @@ -47,7 +47,7 @@ static char *progname; #define VERSION_STRING "rtcwake from " PACKAGE_STRING #define RTC_PATH "/sys/class/rtc/%s/device/power/wakeup" -#define SYS_POWER_SATE_PATH "/sys/power/state" +#define SYS_POWER_STATE_PATH "/sys/power/state" #define ADJTIME_PATH "/etc/adjtime" #define DEFAULT_DEVICE "/dev/rtc0" #define DEFAULT_MODE "suspend" @@ -237,10 +237,10 @@ static int setup_alarm(int fd, time_t *wakeup) static void suspend_system(const char *suspend) { - FILE *f = fopen(SYS_POWER_SATE_PATH, "w"); + FILE *f = fopen(SYS_POWER_STATE_PATH, "w"); if (!f) { - perror(SYS_POWER_SATE_PATH); + perror(SYS_POWER_STATE_PATH); return; } -- 1.5.4 - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html