/[hurd]/hurd/sutils/halt.c
ViewVC logotype

Diff of /hurd/sutils/halt.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by miles, Thu Feb 20 04:19:48 1997 UTC revision 1.7 by neal, Tue Mar 26 19:10:17 2002 UTC
# Line 1  Line 1 
1  /* Halt the system  /* Halt the system
2     Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.     Copyright (C) 1994, 1996, 1997, 2002 Free Software Foundation, Inc.
3     Written by Michael I. Bushnell.     Written by Michael I. Bushnell.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 34  main (int argc, char *argv[]) Line 34  main (int argc, char *argv[])
34    struct argp argp = {0, 0, 0, "Halt the system"};    struct argp argp = {0, 0, 0, "Halt the system"};
35    argp_parse (&argp, argc, argv, 0, 0, 0);    argp_parse (&argp, argc, argv, 0, 0, 0);
36    reboot (RB_HALT);    reboot (RB_HALT);
37    perror ("reboot");    error (1, errno, "reboot");
38    return 1;    return 1;
39  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26