init: trivial compile fix

This commit is contained in:
Denis Vlasenko 2007-02-27 19:20:00 +00:00
parent cce38586ae
commit b716754199

View File

@ -987,7 +987,8 @@ int init_main(int argc, char **argv)
} else if (enforce > 0) { } else if (enforce > 0) {
/* SELinux in enforcing mode but load_policy failed */ /* SELinux in enforcing mode but load_policy failed */
/* At this point, we probably can't open /dev/console, so log() won't work */ /* At this point, we probably can't open /dev/console, so log() won't work */
message(CONSOLE, "Cannot load SELinux Policy. Machine is in enforcing mode. Halting now."); message(L_CONSOLE, "Cannot load SELinux Policy. "
"Machine is in enforcing mode. Halting now.");
exit(1); exit(1);
} }
} }
@ -1014,7 +1015,6 @@ int init_main(int argc, char **argv)
signal(SIGHUP, SIG_IGN); signal(SIGHUP, SIG_IGN);
#endif /* FEATURE_USE_INITTAB */ #endif /* FEATURE_USE_INITTAB */
/* Now run the looping stuff for the rest of forever */ /* Now run the looping stuff for the rest of forever */
while (1) { while (1) {
/* run the respawn stuff */ /* run the respawn stuff */