Changes in uspace/srv/loader/main.c [bdca26a:25f6bddb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
rbdca26a r25f6bddb 290 290 DPRINTF("LOADER_LOAD()\n"); 291 291 292 errno_t rc = elf_load(program_fd, &prog_info);293 if (rc != E OK) {292 int rc = elf_load(program_fd, &prog_info); 293 if (rc != EE_OK) { 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.