Ignore:
File:
1 edited

Legend:

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

    rbdca26a rca21f1e2  
    4848#include <security/perm.h>
    4949#include <lib/elf_load.h>
    50 #include <str.h>
     50#include <errno.h>
    5151#include <log.h>
    5252#include <syscall/copy.h>
     
    7676                return ENOMEM;
    7777
    78         prg->loader_status = EOK;
     78        prg->loader_status = EE_OK;
    7979        prg->task = task_create(as, name);
    8080        if (!prg->task) {
     
    149149
    150150        prg->loader_status = elf_load((elf_header_t *) image_addr, as);
    151         if (prg->loader_status != EOK) {
     151        if (prg->loader_status != EE_OK) {
    152152                as_release(as);
    153153                prg->task = NULL;
     
    183183
    184184        prg->loader_status = elf_load((elf_header_t *) program_loader, as);
    185         if (prg->loader_status != EOK) {
     185        if (prg->loader_status != EE_OK) {
    186186                as_release(as);
    187187                log(LF_OTHER, LVL_ERROR, "Cannot spawn loader (%s)",
    188                     str_error(prg->loader_status));
     188                    elf_error(prg->loader_status));
    189189                return ENOENT;
    190190        }
Note: See TracChangeset for help on using the changeset viewer.