Changeset 87bc11f in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2019-05-18T21:43:08Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
d49194d
Parents:
985e0f15
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-05-17 14:27:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-05-18 21:43:08)
Message:

Removing printf when failing from lib/rtld

If rtld failed a message was printed with printf.
This has been replaced with DPRINTF which
gives control to the developer over the message

File:
1 edited

Legend:

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

    r985e0f15 r87bc11f  
    290290        DPRINTF("LOADER_LOAD()\n");
    291291
    292         int rc = elf_load(program_fd, &prog_info);
    293         if (rc != EE_OK) {
     292        errno_t rc = elf_load(program_fd, &prog_info);
     293        if (rc != EOK) {
    294294                DPRINTF("Failed to load executable for '%s'.\n", progname);
    295295                async_answer_0(req, EINVAL);
Note: See TracChangeset for help on using the changeset viewer.