Changeset bf61d3a in mainline for uspace/app/tester/ipc/register.c
- Timestamp:
- 2010-11-26T01:34:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 273b958
- Parents:
- 4b9a410 (diff), 7e752b2 (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/app/tester/ipc/register.c
r4b9a410 rbf61d3a 27 27 */ 28 28 29 #include <inttypes.h> 29 30 #include <stdio.h> 30 31 #include <unistd.h> … … 41 42 unsigned int i; 42 43 43 TPRINTF("Connected phone % #xaccepting\n", icall->in_phone_hash);44 TPRINTF("Connected phone %" PRIun " accepting\n", icall->in_phone_hash); 44 45 ipc_answer_0(iid, EOK); 45 46 for (i = 0; i < MAX_CONNECTIONS; i++) { … … 57 58 switch (IPC_GET_METHOD(call)) { 58 59 case IPC_M_PHONE_HUNGUP: 59 TPRINTF("Phone % #xhung up\n", icall->in_phone_hash);60 TPRINTF("Phone %" PRIun " hung up\n", icall->in_phone_hash); 60 61 retval = 0; 61 62 break; 62 63 case IPC_TEST_METHOD: 63 TPRINTF("Received well known message from % #x: %#x\n",64 TPRINTF("Received well known message from %" PRIun ": %" PRIun "\n", 64 65 icall->in_phone_hash, callid); 65 66 ipc_answer_0(callid, EOK); 66 67 break; 67 68 default: 68 TPRINTF("Received unknown message from % #x: %#x\n",69 TPRINTF("Received unknown message from %" PRIun ": %" PRIun "\n", 69 70 icall->in_phone_hash, callid); 70 71 ipc_answer_0(callid, ENOENT);
Note:
See TracChangeset
for help on using the changeset viewer.