Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/program.c

    rbfe43d5 rfa3b8e4  
    145145               
    146146                program_loader = image_addr;
    147                 LOG("Registered program loader at %p",
    148                     (void *) image_addr);
     147                LOG("Registered program loader at 0x%" PRIp,
     148                    image_addr);
    149149               
    150150                return EOK;
     
    171171        void *loader = program_loader;
    172172        if (!loader) {
    173                 as_destroy(as);
    174173                printf("Cannot spawn loader as none was registered\n");
    175174                return ENOENT;
     
    180179        if (rc != EE_OK) {
    181180                as_destroy(as);
    182                 printf("Cannot spawn loader (%s)\n", elf_error(rc));
    183181                return ENOENT;
    184182        }
     
    212210 *
    213211 */
    214 sysarg_t sys_program_spawn_loader(char *uspace_name, size_t name_len)
     212unative_t sys_program_spawn_loader(char *uspace_name, size_t name_len)
    215213{
    216214        /* Cap length of name and copy it from userspace. */
     
    221219        int rc = copy_from_uspace(namebuf, uspace_name, name_len);
    222220        if (rc != 0)
    223                 return (sysarg_t) rc;
     221                return (unative_t) rc;
    224222       
    225223        namebuf[name_len] = 0;
Note: See TracChangeset for help on using the changeset viewer.