diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-20 20:38:42 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-20 20:38:42 -0500 |
commit | 5ce048968ecfb6f64af67d955ddbb205d80aef35 (patch) | |
tree | 43f1f71afb6f2b0fc7aad690b8b710dc79695dab | |
parent | dec21140.c: Include <libcpu/page.h> to eliminate warnings (diff) | |
download | rtems-5ce048968ecfb6f64af67d955ddbb205d80aef35.tar.bz2 |
dec21140.c: Fix printk() warnings
-rw-r--r-- | c/src/libchip/network/dec21140.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c index 4b2371b43a..c5d25e9686 100644 --- a/c/src/libchip/network/dec21140.c +++ b/c/src/libchip/network/dec21140.c @@ -932,7 +932,8 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach) if ((unitNumber < 1) || (unitNumber > NDECDRIVER)) { - printk("dec2114x : unit %i is invalid, must be (1 <= n <= %d)\n", unitNumber); + printk("dec2114x : unit %i is invalid, must be (1 <= n <= %d)\n", + unitNumber, NDECDRIVER); return 0; } @@ -1022,8 +1023,7 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach) #ifdef DEC_DEBUG - printk("dec2114x : unit %d base address %" PRIu32 ".\n", unitNumber, - sc->base ); + printk("dec2114x : unit %d base address %p.\n", unitNumber, sc->base); #endif |