Changeset 5ce0489 in rtems


Ignore:
Timestamp:
Apr 21, 2017, 1:38:42 AM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
fc91f51
Parents:
40d0a468
Message:

dec21140.c: Fix printk() warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/network/dec21140.c

    r40d0a468 r5ce0489  
    933933   if ((unitNumber < 1) || (unitNumber > NDECDRIVER))
    934934   {
    935       printk("dec2114x : unit %i is invalid, must be (1 <= n <= %d)\n", unitNumber);
     935      printk("dec2114x : unit %i is invalid, must be (1 <= n <= %d)\n",
     936              unitNumber, NDECDRIVER);
    936937      return 0;
    937938   }
     
    10231024
    10241025#ifdef DEC_DEBUG
    1025    printk("dec2114x : unit %d base address %" PRIu32 ".\n", unitNumber,
    1026           sc->base );
     1026   printk("dec2114x : unit %d base address %p.\n", unitNumber, sc->base);
    10271027#endif
    10281028
Note: See TracChangeset for help on using the changeset viewer.