Ignore:
File:
1 edited

Legend:

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

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