diff options
author | dd <dd@FreeBSD.org> | 2001-07-22 11:47:15 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-07-22 11:47:15 +0000 |
commit | ddad656d3e3f4da422c99e106e18aa73daf4e1f3 (patch) | |
tree | 396f47ba3040e809f8e4f1d57a103937b172c6c1 /share/man | |
parent | 6704b1f89ea03a4cadef132b11ddc0bf5b9a3c61 (diff) | |
download | FreeBSD-src-ddad656d3e3f4da422c99e106e18aa73daf4e1f3.zip FreeBSD-src-ddad656d3e3f4da422c99e106e18aa73daf4e1f3.tar.gz |
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.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/style.9 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 3887004..39afb85 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -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 |