aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-11-27 08:42:58 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-11-27 08:42:58 +0000
commit3c8d4fc09ba9d58aff04cccdaafce4ae05a1c609 (patch)
treeaaef96495509ba0be2554ff85ae793bea4d9dccc
parent5c423e0640bcad0eb90d9c968658347228bc2818 (diff)
Notes
-rw-r--r--share/man/man9/style.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 5b1b4892af60..c7ccd25f9d17 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