Author: rwatson Date: Thu Nov 27 08:42:58 2008 New Revision: 185362 URL: http://svn.freebsd.org/changeset/base/185362
Log: 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 Modified: head/share/man/man9/style.9 Modified: head/share/man/man9/style.9 ============================================================================== --- head/share/man/man9/style.9 Thu Nov 27 06:21:04 2008 (r185361) +++ head/share/man/man9/style.9 Thu Nov 27 08:42:58 2008 (r185362) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"