diff options
| author | he <he@NetBSD.org> | 2006-09-23 18:57:26 +0000 |
|---|---|---|
| committer | he <he@NetBSD.org> | 2006-09-23 18:57:26 +0000 |
| commit | fa8dee86287c5a88f314e60cd3077d1fe19f2612 (patch) | |
| tree | c1d2750c848b4f618208fc2e9480cfe248684a22 /sbin/init/init.c | |
| parent | 6308f92920b2a2b758598dcaa9832e97213f0022 (diff) | |
Um, correct previous, so that current_state def/use is consistent.
Diffstat (limited to 'sbin/init/init.c')
| -rw-r--r-- | sbin/init/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index e25c337f032..2005a3252f6 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.78 2006/09/23 14:04:26 he Exp $ */ +/* $NetBSD: init.c,v 1.79 2006/09/23 18:57:26 he Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n" #if 0 static char sccsid[] = "@(#)init.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: init.c,v 1.78 2006/09/23 14:04:26 he Exp $"); +__RCSID("$NetBSD: init.c,v 1.79 2006/09/23 18:57:26 he Exp $"); #endif #endif /* not lint */ @@ -559,9 +559,9 @@ transition(state_t s) #ifndef LETS_GET_SMALL utmpx_set_runlevel(get_runlevel(current_state), get_runlevel(s)); -#endif current_state = s; #endif +#endif s = (state_t)(*s)(); } } |
