exect->execve.

During my investigation, no reason could be found to enable tracing.
Fixes PR 7782 by Christoph Martin.
This commit is contained in:
is 1999-10-31 13:24:05 +00:00
parent 09e6fcd222
commit 7bf4e6a5e3
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: shutdown.c,v 1.34 1998/11/22 19:13:45 bad Exp $ */
/* $NetBSD: shutdown.c,v 1.35 1999/10/31 13:24:05 is Exp $ */
/*
* Copyright (c) 1988, 1990, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)shutdown.c 8.4 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: shutdown.c,v 1.34 1998/11/22 19:13:45 bad Exp $");
__RCSID("$NetBSD: shutdown.c,v 1.35 1999/10/31 13:24:05 is Exp $");
#endif
#endif /* not lint */
@ -377,7 +377,7 @@ die_you_gravy_sucking_pig_dog()
*arg++ = "-l";
*arg++ = 0;
#ifndef DEBUG
exect(path, args, (char **)0);
execve(path, args, (char **)0);
syslog(LOG_ERR, "shutdown: can't exec %s: %m", path);
perror("shutdown");
#else