View | Details | Raw Unified | Return to bug 127219
Collapse All | Expand All

(-)style.9 (-2 / +2 lines)
Lines 716-724 Link Here
716
do not roll your own.
716
do not roll your own.
717
.Bd -literal
717
.Bd -literal
718
	if ((four = malloc(sizeof(struct foo))) == NULL)
718
	if ((four = malloc(sizeof(struct foo))) == NULL)
719
		err(1, (char *)NULL);
719
		err(EX_OSERR, NULL);
720
	if ((six = (int *)overflow()) == NULL)
720
	if ((six = (int *)overflow()) == NULL)
721
		errx(1, "number overflowed");
721
		errx(EX_DATAERR, "number overflowed");
722
	return (eight);
722
	return (eight);
723
}
723
}
724
.Ed
724
.Ed

Return to bug 127219