X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/e4a1f12e7e44b2b62ece74c9ea36354fa944acf9..c2997b6e22cfa183e7e73501ecdb2d5020434c9a:/rogue/machdep.c diff --git a/rogue/machdep.c b/rogue/machdep.c index 531c175e..e6d6292d 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.20 2012/12/01 11:37:27 mbalmer 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.20 2012/12/01 11:37:27 mbalmer Exp $"); #endif #endif /* not lint */ @@ -84,7 +84,7 @@ __RCSID("$NetBSD: machdep.c,v 1.18 2011/08/31 16:24:56 plunky Exp $"); * #endif * } * - * Appropriate variations of this are of course acceptible. + * Appropriate variations of this are of course acceptable. * The use of "#elseif" is discouraged because of non-portability. * If the correct #define doesn't exist, "UNIX_SYSV" in this case, make it up * and insert it in the list at the top of the file. Alter the CFLAGS @@ -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);