From 05e32d2c4644c0f6f1cef31873e8d2d0642efa1c Mon Sep 17 00:00:00 2001 From: plunky Date: Thu, 1 Sep 2011 07:18:50 +0000 Subject: reinstate NULL cast by request, where the NULL was being passed as a vararg --- rogue/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rogue') diff --git a/rogue/machdep.c b/rogue/machdep.c index 531c175e..072e4d69 100644 --- a/rogue/machdep.c +++ b/rogue/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $ */ +/* $NetBSD: machdep.c,v 1.19 2011/09/01 07:18:51 plunky Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)machdep.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $"); +__RCSID("$NetBSD: machdep.c,v 1.19 2011/09/01 07:18:51 plunky Exp $"); #endif #endif /* not lint */ @@ -481,7 +481,7 @@ md_shell(const char *shell) case -1: break; case 0: - execl(shell, shell, NULL); + execl(shell, shell, (char *)NULL); _exit(255); default: waitpid(pid, &w, 0); -- cgit v1.2.3-56-ge451