Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r27b76ca r3e6a98c5  
    4747#include <stdlib.h>
    4848#include <unistd.h>
    49 #include <bool.h>
     49#include <stdbool.h>
    5050#include <fcntl.h>
    5151#include <sys/types.h>
     
    450450        int rc = ns_intro(id);
    451451        if (rc != EOK)
    452                 return -1;
     452                return rc;
    453453       
    454454        /* Register at naming service. */
    455         if (service_register(SERVICE_LOAD) != EOK)
    456                 return -2;
     455        rc = service_register(SERVICE_LOAD);
     456        if (rc != EOK)
     457                return rc;
    457458       
    458459        async_manager();
Note: See TracChangeset for help on using the changeset viewer.