diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-28 10:00:49 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-28 10:00:49 +0000 |
commit | 4209b935fe1a50c88434408d549ee3f087cb22d4 (patch) | |
tree | 24501766aaa25b8edb25ec9881517cfc563fc3c5 | |
parent | a692560c39477927c41fe4d14ff332b3e6fd4e94 (diff) | |
download | FreeBSD-src-4209b935fe1a50c88434408d549ee3f087cb22d4.zip FreeBSD-src-4209b935fe1a50c88434408d549ee3f087cb22d4.tar.gz |
What cretin named both a global and a function "reboot"? Global
changed to Reboot.
Submitted by: jkh
-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 413fa5e..8bbe9c7 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -115,7 +115,7 @@ state_func_t catatonia __P((void)); state_func_t death __P((void)); enum { AUTOBOOT, FASTBOOT } runcom_mode = AUTOBOOT; -int reboot = FALSE; +int Reboot = FALSE; void transition __P((state_t)); state_t requested_transition = runcom; @@ -562,7 +562,7 @@ single_user() if (getsecuritylevel() > 0) setsecuritylevel(0); - if (reboot) { + if (Reboot) { /* Instead of going single user, let's halt the machine */ sync(); alarm(2); @@ -1141,7 +1141,7 @@ transition_handler(sig) requested_transition = clean_ttys; break; case SIGINT: - reboot = TRUE; + Reboot = TRUE; case SIGTERM: requested_transition = death; break; |