diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:47:31 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:47:31 +0000 |
commit | 4525f775fe58718576ab424eff5df5b3ae92c442 (patch) | |
tree | f8a339499e7ba4b3a22c6e3b0d770794e64ad387 /init/init.c | |
parent | d7d4e76db5cfda4badf922109153a4114a94546b (diff) |
Include <hurd/msg_server.h>.
(reboot_mach): Insert extra parens around assignment inside while test.
(launch_core_servers): Remove assignment from inside if test.
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c index b5ce5a30..e2eb3b9b 100644 --- a/init/init.c +++ b/init/init.c @@ -36,6 +36,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <hurd/term.h> #include <paths.h> #include <sys/wait.h> +#include <hurd/msg_server.h> #include "startup_reply_U.h" #include "startup_S.h" @@ -129,7 +130,7 @@ reboot_mach (int flags) { printf ("init: %sing Mach (flags %#x)...\n", BOOT (flags), flags); fflush (stdout); - while (errno = host_reboot (host_priv, flags)) + while ((errno = host_reboot (host_priv, flags))) perror ("host_reboot"); for (;;); } @@ -551,8 +552,8 @@ launch_core_servers (void) mach_port_deallocate (mach_task_self (), old); /* Give the bootstrap FS its proc and auth ports. */ - if (errno = fsys_init (bootport, fsproc, MACH_MSG_TYPE_MOVE_SEND, - authserver)) + errno = fsys_init (bootport, fsproc, MACH_MSG_TYPE_MOVE_SEND, authserver); + if (errno) perror ("fsys_init"); /* Not necessarily fatal. */ } |