Browse Source

Minor comment changes:

o utmp lives in /var/run, not /etc
o document EX_CONFIG
OPENBSD_2_7
millert 24 years ago
parent
commit
d93b42ba80
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/include/sysexits.h

+ 6
- 4
src/include/sysexits.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: sysexits.h,v 1.2 1997/09/21 10:45:56 niklas Exp $ */
/* $OpenBSD: sysexits.h,v 1.3 2000/04/26 15:59:57 millert Exp $ */
/* $NetBSD: sysexits.h,v 1.4 1994/10/26 00:56:33 cgd Exp $ */ /* $NetBSD: sysexits.h,v 1.4 1994/10/26 00:56:33 cgd Exp $ */
/* /*
@ -78,7 +78,7 @@
* fork", "cannot create pipe", or the like. It includes * fork", "cannot create pipe", or the like. It includes
* things like getuid returning a user that does not * things like getuid returning a user that does not
* exist in the passwd file. * exist in the passwd file.
* EX_OSFILE -- Some system file (e.g., /etc/passwd, /etc/utmp,
* EX_OSFILE -- Some system file (e.g., /etc/passwd, /var/run/utmp,
* etc.) does not exist, cannot be opened, or has some * etc.) does not exist, cannot be opened, or has some
* sort of error (e.g., syntax error). * sort of error (e.g., syntax error).
* EX_CANTCREAT -- A (user specified) output file cannot be * EX_CANTCREAT -- A (user specified) output file cannot be
@ -92,8 +92,10 @@
* was "not possible" during a protocol exchange. * was "not possible" during a protocol exchange.
* EX_NOPERM -- You did not have sufficient permission to * EX_NOPERM -- You did not have sufficient permission to
* perform the operation. This is not intended for * perform the operation. This is not intended for
* file system problems, which should use NOINPUT or
* CANTCREAT, but rather for higher level permissions.
* file system problems, which should use EX_NOINPUT or
* EX_CANTCREAT, but rather for higher level permissions.
* EX_CONFIG -- Something was found in an unconfigured or
* misconfigured state.
*/ */
#define EX_OK 0 /* successful termination */ #define EX_OK 0 /* successful termination */


Loading…
Cancel
Save