Change the errx() example. Error messages passed to the err(3)

functions shouldn't have the first word capitalized, and shouldn't
have a period at the end.  This is how most of our programs, and most
(all?) of the 4.4BSD programs, are.  In the past, we've even done
sweeps to change things to comply to this.
This commit is contained in:
Dima Dorfman 2001-07-22 11:47:15 +00:00
parent ebb02791f2
commit 3b08168907
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80143

View file

@ -474,7 +474,7 @@ don't roll your own!
if ((four = malloc(sizeof(struct foo))) == NULL)
err(1, (char *)NULL);
if ((six = (int *)overflow()) == NULL)
errx(1, "Number overflowed.");
errx(1, "number overflowed");
return (eight);
}
.Ed