summaryrefslogtreecommitdiff
path: root/sutils/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/reboot.c')
-rw-r--r--sutils/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/reboot.c b/sutils/reboot.c
index 715dc90c..5bfaf20c 100644
--- a/sutils/reboot.c
+++ b/sutils/reboot.c
@@ -1,5 +1,5 @@
/* Reboot the system
- Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1997, 2002 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -34,6 +34,6 @@ main (int argc, char *argv[])
struct argp argp = {0, 0, 0, "Reboot the system"};
argp_parse (&argp, argc, argv, 0, 0, 0);
reboot (0);
- perror ("reboot");
+ error (1, errno, "reboot");
return 1;
}