Changeset bf61d3a in mainline for uspace/srv/hw/netif/dp8390/ne2000.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/hw/netif/dp8390/ne2000.c

    r4b9a410 rbf61d3a  
    267267        if (!debug)
    268268        {
    269                 printf("%s: NE%d000 at %X:%d\n",
    270                         dep->de_name, dep->de_16bit ? 2 : 1,
    271                         dep->de_base_port, dep->de_irq);
     269                printf("%s: NE%d000 at %#lx:%d\n",
     270                    dep->de_name, dep->de_16bit ? 2 : 1,
     271                    dep->de_base_port, dep->de_irq);
    272272        }
    273273        else
    274274        {
    275275                printf("%s: Novell NE%d000 ethernet card at I/O address "
    276                         "0x%X, memory size 0x%X, irq %d\n",
    277                         dep->de_name, dep->de_16bit ? 2 : 1,
    278                         dep->de_base_port, dep->de_ramsize, dep->de_irq);
     276                    "%#lx, memory size %#lx, irq %d\n",
     277                    dep->de_name, dep->de_16bit ? 2 : 1,
     278                    dep->de_base_port, dep->de_ramsize, dep->de_irq);
    279279        }
    280280}
Note: See TracChangeset for help on using the changeset viewer.