summaryrefslogtreecommitdiffstats
path: root/cribbage/instr.c
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
committerplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
commite4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch)
tree7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /cribbage/instr.c
parent8fdb2354b50bedf84e0744346e974d308ded6a1b (diff)
downloadbsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip
NULL does not need a cast
Diffstat (limited to 'cribbage/instr.c')
-rw-r--r--cribbage/instr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c
index aab196ed..9f1376b9 100644
--- a/cribbage/instr.c
+++ b/cribbage/instr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: instr.c,v 1.12 2005/07/02 08:32:32 jmc Exp $ */
+/* $NetBSD: instr.c,v 1.13 2011/08/31 16:24:55 plunky Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: instr.c,v 1.12 2005/07/02 08:32:32 jmc Exp $");
+__RCSID("$NetBSD: instr.c,v 1.13 2011/08/31 16:24:55 plunky Exp $");
#endif
#endif /* not lint */
@@ -85,7 +85,7 @@ instructions(void)
warn("dup2");
_exit(1);
}
- execl("/bin/sh", "sh", "-c", path, (char *) NULL);
+ execl("/bin/sh", "sh", "-c", path, NULL);
warn(NULL);
_exit(1);
default: