Changeset 7bdcc45 in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2010-12-16T16:38:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r8e58f94 r7bdcc45 383 383 callid = async_get_call(&call); 384 384 385 switch (IPC_GET_ METHOD(call)) {385 switch (IPC_GET_IMETHOD(call)) { 386 386 case IPC_M_PHONE_HUNGUP: 387 387 exit(0); … … 411 411 break; 412 412 } 413 if ((callid & IPC_CALLID_NOTIFICATION) == 0 && 414 IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) { 413 if (IPC_GET_IMETHOD(call) != IPC_M_PHONE_HUNGUP) { 415 414 DPRINTF("Responding EINVAL to method %d.\n", 416 IPC_GET_ METHOD(call));415 IPC_GET_IMETHOD(call)); 417 416 ipc_answer_0(callid, EINVAL); 418 417 } … … 424 423 int main(int argc, char *argv[]) 425 424 { 426 ipcarg_t phonead;425 sysarg_t phonead; 427 426 task_id_t id; 428 427 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.