diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-11-27 08:42:58 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-11-27 08:42:58 +0000 |
commit | 272e95193bef3d1cacf8bf5d82b6f7bbe6d500a7 (patch) | |
tree | aaef96495509ba0be2554ff85ae793bea4d9dccc /share | |
parent | 8656c82d08fb6dc18ba3fc90988f6a0070664469 (diff) | |
download | FreeBSD-src-272e95193bef3d1cacf8bf5d82b6f7bbe6d500a7.zip FreeBSD-src-272e95193bef3d1cacf8bf5d82b6f7bbe6d500a7.tar.gz |
Revert r184509: don't encourage the use of sysexits.h with err() and
errx(),, as there seems to be a general preference against this
practice.
Suggested by: bde, des, jhb
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/style.9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 5b1b489..c7ccd25 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -716,9 +716,9 @@ or do not roll your own. .Bd -literal if ((four = malloc(sizeof(struct foo))) == NULL) - err(EX_OSERR, NULL); + err(1, (char *)NULL); if ((six = (int *)overflow()) == NULL) - errx(EX_DATAERR, "number overflowed"); + errx(1, "number overflowed"); return (eight); } .Ed |