Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/arp/arp.c

    rfc3dba14 r228e490  
    320320                /* Bind the new one */
    321321                device->phone = nil_bind_service(device->service,
    322                     (ipcarg_t) device->device_id, SERVICE_ARP,
     322                    (sysarg_t) device->device_id, SERVICE_ARP,
    323323                    arp_globals.client_connection);
    324324                if (device->phone < 0) {
     
    421421        device->packet_dimension.content = mtu;
    422422        fibril_mutex_unlock(&arp_globals.lock);
    423         printf("arp - device %d changed mtu to %d\n\n", device_id, mtu);
     423        printf("arp - device %d changed mtu to %zu\n\n", device_id, mtu);
    424424        return EOK;
    425425}
     
    695695       
    696696        *answer_count = 0;
    697         switch (IPC_GET_METHOD(*call)) {
     697        switch (IPC_GET_IMETHOD(*call)) {
    698698        case IPC_M_PHONE_HUNGUP:
    699699                return EOK;
     
    815815                 * result.
    816816                 */
    817                 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) ||
     817                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
    818818                    (res == EHANGUP))
    819819                        return;
Note: See TracChangeset for help on using the changeset viewer.