Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/ipc/register.c

    r228e490 ra000878c  
    2727 */
    2828
    29 #include <inttypes.h>
    3029#include <stdio.h>
    3130#include <unistd.h>
     
    4241        unsigned int i;
    4342       
    44         TPRINTF("Connected phone %" PRIun " accepting\n", icall->in_phone_hash);
     43        TPRINTF("Connected phone %#x accepting\n", icall->in_phone_hash);
    4544        ipc_answer_0(iid, EOK);
    4645        for (i = 0; i < MAX_CONNECTIONS; i++) {
     
    5655                int retval;
    5756               
    58                 switch (IPC_GET_IMETHOD(call)) {
     57                switch (IPC_GET_METHOD(call)) {
    5958                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);
    6160                        retval = 0;
    6261                        break;
    6362                case IPC_TEST_METHOD:
    64                         TPRINTF("Received well known message from %" PRIun ": %" PRIun "\n",
     63                        TPRINTF("Received well known message from %#x: %#x\n",
    6564                            icall->in_phone_hash, callid);
    6665                        ipc_answer_0(callid, EOK);
    6766                        break;
    6867                default:
    69                         TPRINTF("Received unknown message from %" PRIun ": %" PRIun "\n",
     68                        TPRINTF("Received unknown message from %#x: %#x\n",
    7069                            icall->in_phone_hash, callid);
    7170                        ipc_answer_0(callid, ENOENT);
     
    7978        async_set_client_connection(client_connection);
    8079       
    81         sysarg_t phonead;
     80        ipcarg_t phonead;
    8281        int res = ipc_connect_to_me(PHONE_NS, IPC_TEST_SERVICE, 0, 0, &phonead);
    8382        if (res != 0)
Note: See TracChangeset for help on using the changeset viewer.