Ignore:
File:
1 edited

Legend:

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

    rb2fa1204 rd1e8440  
    4949#include <lib/elf_load.h>
    5050#include <errno.h>
    51 #include <log.h>
     51#include <print.h>
    5252#include <syscall/copy.h>
    5353#include <proc/program.h>
     
    155155               
    156156                program_loader = image_addr;
    157                 log(LF_OTHER, LVL_NOTE, "Program loader at %p", (void *) image_addr);
     157                printf("Program loader at %p\n", (void *) image_addr);
    158158               
    159159                return EOK;
     
    181181        if (!loader) {
    182182                as_destroy(as);
    183                 log(LF_OTHER, LVL_ERROR,
    184                     "Cannot spawn loader as none was registered");
     183                printf("Cannot spawn loader as none was registered\n");
    185184                return ENOENT;
    186185        }
     
    190189        if (prg->loader_status != EE_OK) {
    191190                as_destroy(as);
    192                 log(LF_OTHER, LVL_ERROR, "Cannot spawn loader (%s)",
     191                printf("Cannot spawn loader (%s)\n",
    193192                    elf_error(prg->loader_status));
    194193                return ENOENT;
Note: See TracChangeset for help on using the changeset viewer.