diff --git a/src/bin/init/main.c b/src/bin/init/main.c index 504a694..3724155 100644 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -35,26 +35,22 @@ #include int main(int argc,char **argv) { - int i=0; + int i=0x0; mpiMessage_t myMsg; /* Create a mailbox for this task */ - if (mpiCreateMbox("init") != 0x0) { - printf("Error: Error Creating Mail Box\n"); - exit(-1); + printf("Error: Failed to creating mail box: init\n"); + exit(0x1); } /* Make sure we have superuser permissions if not exit */ - if ((getuid() != 0) && (getgid() != 0)) { + if ((getuid() != 0x0) && (getgid() != 0x0)) { printf("Error: This program must be run by root.\n"); - exit(-1); + exit(0x1); } - /* Start the SDE(SCreen Drawing Engine) */ - //startSDE(); - - printf("Initializing System.\n"); + printf("Initializing UbixOS\n"); i = fork(); if (0x0 == i) { @@ -98,6 +94,9 @@ /*** $Log$ + Revision 1.15 2004/07/28 17:07:25 reddawg + MPI: moved the syscalls + Revision 1.14 2004/07/28 00:17:05 reddawg Major: Disconnected page 0x0 from the system... Unfortunately this broke many things