diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 13:53:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 13:53:02 +0000 |
commit | 352332193c1146a2e82a891d7b72136acc1bee5d (patch) | |
tree | b8bd9bbddc95b9657811b3790225edeb7d3eff8e /cpukit/libmisc/monitor/mon-driver.c | |
parent | 2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-352332193c1146a2e82a891d7b72136acc1bee5d.tar.bz2 |
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
format warnings.
Diffstat (limited to 'cpukit/libmisc/monitor/mon-driver.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libmisc/monitor/mon-driver.c b/cpukit/libmisc/monitor/mon-driver.c index 12e84f414e..48827173e5 100644 --- a/cpukit/libmisc/monitor/mon-driver.c +++ b/cpukit/libmisc/monitor/mon-driver.c @@ -30,6 +30,7 @@ #include <stdio.h> #include <stdlib.h> /* strtoul() */ +#include <inttypes.h> #define DATACOL 15 #define CONTCOL DATACOL /* continued col */ @@ -110,7 +111,7 @@ rtems_monitor_driver_dump( { uint32_t length = 0; - length += fprintf(stdout," %d", monitor_driver->id); + length += fprintf(stdout," %" PRId32 "", monitor_driver->id); length += rtems_monitor_pad(13, length); length += fprintf(stdout,"init: "); |