From 7bf4e6a5e3b885b22c5227b2b438a0ea0f903cd1 Mon Sep 17 00:00:00 2001 From: is Date: Sun, 31 Oct 1999 13:24:05 +0000 Subject: [PATCH] exect->execve. During my investigation, no reason could be found to enable tracing. Fixes PR 7782 by Christoph Martin. --- sbin/shutdown/shutdown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index dfe734a0014b..490b33563624 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -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