Changeset bf61d3a in mainline for uspace/srv/net/nil/eth/eth.c


Ignore:
Timestamp:
2010-11-26T01:34:21Z (13 years ago)
Author:
Martin Decky <martin@…>
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.
Message:

merge compile-time printf() argument checking, fixes of actual printf() arguments and related modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    r4b9a410 rbf61d3a  
    315315                        device->mtu = ETH_MAX_TAGGED_CONTENT(device->flags);
    316316               
    317                 printf("Device %d already exists:\tMTU\t= %d\n",
     317                printf("Device %d already exists:\tMTU\t= %zu\n",
    318318                    device->device_id, device->mtu);
    319319                fibril_rwlock_write_unlock(&eth_globals.devices_lock);
     
    407407        }
    408408       
    409         printf("%s: Device registered (id: %d, service: %d: mtu: %d, "
     409        printf("%s: Device registered (id: %d, service: %d: mtu: %zu, "
    410410            "mac: %x:%x:%x:%x:%x:%x, flags: 0x%x)\n",
    411411            NAME, device->device_id, device->service, device->mtu,
Note: See TracChangeset for help on using the changeset viewer.