summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sleep.c b/src/sleep.c
index 57be102de..62b1f16f8 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -173,7 +173,7 @@ clock_get_realtime (struct timespec *ts)
#endif
if (fail)
- error (1, errno, _("cannot read realtime clock"));
+ error (EXIT_FAILURE, errno, _("cannot read realtime clock"));
return ts;
}