-/* $NetBSD: instr.c,v 1.10 2003/08/07 09:37:10 agc Exp $ */
+/* $NetBSD: instr.c,v 1.14 2011/09/01 07:18:50 plunky Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: instr.c,v 1.10 2003/08/07 09:37:10 agc Exp $");
+__RCSID("$NetBSD: instr.c,v 1.14 2011/09/01 07:18:50 plunky Exp $");
#endif
#endif /* not lint */
#include "pathnames.h"
void
-instructions()
+instructions(void)
{
int pstat;
int fd;
warn("dup2");
_exit(1);
}
- execl("/bin/sh", "sh", "-c", path, NULL);
+ execl("/bin/sh", "sh", "-c", path, (char *) NULL);
warn(NULL);
_exit(1);
default: