aboutsummaryrefslogtreecommitdiff
path: root/util-linux/rtcwake.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/rtcwake.c')
-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 f90f73ced..049f699f5 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -172,7 +172,7 @@ int rtcwake_main(int argc UNUSED_PARAM, char **argv)
172 172
173 sync(); 173 sync();
174 printf("wakeup from \"%s\" at %s", suspend, ctime(&alarm_time)); 174 printf("wakeup from \"%s\" at %s", suspend, ctime(&alarm_time));
175 fflush(NULL); 175 fflush_all();
176 usleep(10 * 1000); 176 usleep(10 * 1000);
177 177
178 if (strcmp(suspend, "on")) 178 if (strcmp(suspend, "on"))