Changeset 7bdcc45 in mainline for uspace/srv/net/il/arp/arp.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r8e58f94 r7bdcc45  
    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.