diff options
author | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
---|---|---|
committer | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
commit | 05e32d2c4644c0f6f1cef31873e8d2d0642efa1c (patch) | |
tree | 9f4e83ad0ad219db146ca6ac4d5f8d2b835ee08a /wump | |
parent | e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (diff) | |
download | bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.gz bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.zst bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.zip |
reinstate NULL cast by request, where the NULL was being passed as a vararg
Diffstat (limited to 'wump')
-rw-r--r-- | wump/wump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wump/wump.c b/wump/wump.c index 770aebab..559ebc9b 100644 --- a/wump/wump.c +++ b/wump/wump.c @@ -1,4 +1,4 @@ -/* $NetBSD: wump.c,v 1.28 2011/08/31 16:24:57 plunky Exp $ */ +/* $NetBSD: wump.c,v 1.29 2011/09/01 07:18:51 plunky Exp $ */ /* * Copyright (c) 1989, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\ #if 0 static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: wump.c,v 1.28 2011/08/31 16:24:57 plunky Exp $"); +__RCSID("$NetBSD: wump.c,v 1.29 2011/09/01 07:18:51 plunky Exp $"); #endif #endif /* not lint */ @@ -781,7 +781,7 @@ puff of greasy black smoke! (poof)\n"); err(1, "open %s", _PATH_WUMPINFO); if (dup2(fd, STDIN_FILENO) == -1) err(1, "dup2"); - (void)execl("/bin/sh", "sh", "-c", pager, NULL); + (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL); err(1, "exec sh -c %s", pager); case -1: err(1, "fork"); |