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 /hack/hack.unix.c | |
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 'hack/hack.unix.c')
-rw-r--r-- | hack/hack.unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.unix.c b/hack/hack.unix.c index 8e82fefa..dd4c6799 100644 --- a/hack/hack.unix.c +++ b/hack/hack.unix.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.unix.c,v 1.16 2011/08/31 16:24:56 plunky Exp $ */ +/* $NetBSD: hack.unix.c,v 1.17 2011/09/01 07:18:50 plunky Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.unix.c,v 1.16 2011/08/31 16:24:56 plunky Exp $"); +__RCSID("$NetBSD: hack.unix.c,v 1.17 2011/09/01 07:18:50 plunky Exp $"); #endif /* not lint */ /* This file collects some Unix dependencies; hack.pager.c contains some more */ @@ -506,7 +506,7 @@ readmail(void) if (!(mr = getenv("MAILREADER"))) mr = DEF_MAILREADER; if (child(1)) { - execl(mr, mr, NULL); + execl(mr, mr, (char *)NULL); exit(1); } #else /* DEF_MAILREADER */ |