summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
OpenPOWER on IntegriCloud