aboutsummaryrefslogtreecommitdiff
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r--miscutils/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 8c8d7217f..971b777a3 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -143,7 +143,7 @@ int watchdog_main(int argc UNUSED_PARAM, char **argv)
143 * as the counter value is undefined at this point -- PFM 143 * as the counter value is undefined at this point -- PFM
144 */ 144 */
145 write(3, "", 1); /* write zero byte */ 145 write(3, "", 1); /* write zero byte */
146 usleep(stimer_duration * 1000L); 146 msleep(stimer_duration);
147 } 147 }
148 return EXIT_SUCCESS; /* - not reached, but gcc 4.2.1 is too dumb! */ 148 return EXIT_SUCCESS; /* - not reached, but gcc 4.2.1 is too dumb! */
149} 149}