Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 0939097 in mainline


Ignore:
Timestamp:
2020-01-09T01:04:57Z (11 months ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
88ad75f
Parents:
3004ab7
git-author:
Matthieu Riolo <matthieu.riolo@…> (2020-01-05 19:04:25)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-01-09 01:04:57)
Message:

Remove unneeded return value from ldr_load() in
uspace/srv/loader/main.c

File:
1 edited

Legend:

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

    r3004ab7 r0939097  
    292292 *
    293293 */
    294 static int ldr_load(ipc_call_t *req)
     294static void ldr_load(ipc_call_t *req)
    295295{
    296296        DPRINTF("LOADER_LOAD()\n");
     
    300300                DPRINTF("Failed to load executable for '%s'.\n", progname);
    301301                async_answer_0(req, EINVAL);
    302                 return 1;
     302                return;
    303303        }
    304304
     
    318318                DPRINTF("Failed to make TLS for '%s'.\n", progname);
    319319                async_answer_0(req, ENOMEM);
    320                 return 1;
     320                return;
    321321        }
    322322
     
    337337        DPRINTF("Answering.\n");
    338338        async_answer_0(req, EOK);
    339         return 0;
    340339}
    341340
Note: See TracChangeset for help on using the changeset viewer.