diff options
author | 2012-11-02 16:35:21 +0000 | |
---|---|---|
committer | 2012-11-02 16:35:21 +0000 | |
commit | 623493a427baa8e584de25b31aaa85f9a933738a (patch) | |
tree | eaf6b99084d6c5c715a46c3d1ef716886b6e1759 /share/man/man9 | |
parent | Consistency and robustness improvements in mda: (diff) | |
download | wireguard-openbsd-623493a427baa8e584de25b31aaa85f9a933738a.tar.xz wireguard-openbsd-623493a427baa8e584de25b31aaa85f9a933738a.zip |
replace "err(1, (char *)NULL);" with "err(1, NULL);"
from Rafael
ok haesbaert ratchov
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/style.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index b0fd5628fa2..7993a505374 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.53 2012/04/11 21:09:23 ratchov Exp $ +.\" $OpenBSD: style.9,v 1.54 2012/11/02 16:35:21 jmc Exp $ .\" -.Dd $Mdocdate: April 11 2012 $ +.Dd $Mdocdate: November 2 2012 $ .Dt STYLE 9 .Os .Sh NAME @@ -534,7 +534,7 @@ or don't roll your own! .Bd -literal -offset indent if ((four = malloc(sizeof(struct foo))) == NULL) - err(1, (char *)NULL); + err(1, NULL); if ((six = (int *)overflow()) == NULL) errx(1, "Number overflowed."); return (eight); |