aboutsummaryrefslogtreecommitdiffstats
path: root/src/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sleep.c b/src/sleep.c
index a9ff5f20d..22b47934e 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -20,8 +20,6 @@
#include "system.h"
#include "cl-strtod.h"
-#include "die.h"
-#include "error.h"
#include "long-options.h"
#include "quote.h"
#include "xnanosleep.h"
@@ -140,7 +138,7 @@ main (int argc, char **argv)
usage (EXIT_FAILURE);
if (xnanosleep (seconds))
- die (EXIT_FAILURE, errno, _("cannot read realtime clock"));
+ error (EXIT_FAILURE, errno, _("cannot read realtime clock"));
return EXIT_SUCCESS;
}