Changes in uspace/app/tester/ipc/register.c [228e490:a000878c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/ipc/register.c
r228e490 ra000878c 27 27 */ 28 28 29 #include <inttypes.h>30 29 #include <stdio.h> 31 30 #include <unistd.h> … … 42 41 unsigned int i; 43 42 44 TPRINTF("Connected phone % " PRIun "accepting\n", icall->in_phone_hash);43 TPRINTF("Connected phone %#x accepting\n", icall->in_phone_hash); 45 44 ipc_answer_0(iid, EOK); 46 45 for (i = 0; i < MAX_CONNECTIONS; i++) { … … 56 55 int retval; 57 56 58 switch (IPC_GET_ IMETHOD(call)) {57 switch (IPC_GET_METHOD(call)) { 59 58 case IPC_M_PHONE_HUNGUP: 60 TPRINTF("Phone % " PRIun "hung up\n", icall->in_phone_hash);59 TPRINTF("Phone %#x hung up\n", icall->in_phone_hash); 61 60 retval = 0; 62 61 break; 63 62 case IPC_TEST_METHOD: 64 TPRINTF("Received well known message from % " PRIun ": %" PRIun "\n",63 TPRINTF("Received well known message from %#x: %#x\n", 65 64 icall->in_phone_hash, callid); 66 65 ipc_answer_0(callid, EOK); 67 66 break; 68 67 default: 69 TPRINTF("Received unknown message from % " PRIun ": %" PRIun "\n",68 TPRINTF("Received unknown message from %#x: %#x\n", 70 69 icall->in_phone_hash, callid); 71 70 ipc_answer_0(callid, ENOENT); … … 79 78 async_set_client_connection(client_connection); 80 79 81 sysarg_t phonead;80 ipcarg_t phonead; 82 81 int res = ipc_connect_to_me(PHONE_NS, IPC_TEST_SERVICE, 0, 0, &phonead); 83 82 if (res != 0)
Note:
See TracChangeset
for help on using the changeset viewer.