diff options
Diffstat (limited to 'sutils/update.c')
-rw-r--r-- | sutils/update.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sutils/update.c b/sutils/update.c index 0342824f..c1f4e982 100644 --- a/sutils/update.c +++ b/sutils/update.c @@ -1,5 +1,5 @@ /* Periodically call sync. - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 2002 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -41,10 +41,7 @@ main (int argc, char **argv) } if (daemon (0, 0)) - { - perror ("daemon"); - exit (1); - } + error (1, errno, "daemon"); for (;;) { |