Changes in uspace/srv/loader/main.c [25f6bddb:bdca26a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r25f6bddb rbdca26a 290 290 DPRINTF("LOADER_LOAD()\n"); 291 291 292 int rc = elf_load(program_fd, &prog_info);293 if (rc != E E_OK) {292 errno_t rc = elf_load(program_fd, &prog_info); 293 if (rc != EOK) { 294 294 DPRINTF("Failed to load executable for '%s'.\n", progname); 295 295 async_answer_0(req, EINVAL); … … 353 353 */ 354 354 async_get_call(req); 355 assert(! IPC_GET_IMETHOD(*req));355 assert(!ipc_get_imethod(req)); 356 356 async_answer_0(req, EOK); 357 357 … … 392 392 async_get_call(&call); 393 393 394 if (! IPC_GET_IMETHOD(call)) {394 if (!ipc_get_imethod(&call)) { 395 395 async_answer_0(&call, EOK); 396 396 exit(0); 397 397 } 398 398 399 switch ( IPC_GET_IMETHOD(call)) {399 switch (ipc_get_imethod(&call)) { 400 400 case LOADER_GET_TASKID: 401 401 ldr_get_taskid(&call);
Note:
See TracChangeset
for help on using the changeset viewer.