diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-02 12:21:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-02 12:21:58 +0000 |
commit | 618d07b3b6e0b3468e280999189c90248ad178a3 (patch) | |
tree | 0c5fd317e07d97ae74ae7edf2bf1cf5fa2d1eb97 /sbin | |
parent | 05f185b88bba2de649e7b60ad866997a2a192c1a (diff) |
whoops
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/shutdown/shutdown.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index 85b616466ec..ff7360b1d8e 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -1,4 +1,4 @@ -/* $OpenBSD: shutdown.c,v 1.3 1996/09/02 12:19:31 deraadt Exp $ */ +/* $OpenBSD: shutdown.c,v 1.4 1996/09/02 12:21:57 deraadt Exp $ */ /* $NetBSD: shutdown.c,v 1.9 1995/03/18 15:01:09 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)shutdown.c 8.2 (Berkeley) 2/16/94"; #else -static char rcsid[] = "$OpenBSD: shutdown.c,v 1.3 1996/09/02 12:19:31 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: shutdown.c,v 1.4 1996/09/02 12:21:57 deraadt Exp $"; #endif #endif /* not lint */ @@ -282,6 +282,7 @@ timewarn(timeleft) static char hostname[MAXHOSTNAMELEN + 1]; FILE *pf; char wcmd[MAXPATHLEN + 4]; + extern char **environ; if (!first++) (void)gethostname(hostname, sizeof(hostname)); |