diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-10 21:03:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-10 21:03:59 +0000 |
commit | 41f36b57cd88575612be9350c69e4fbf27647595 (patch) | |
tree | dec18a664603146dbc16261a82aadfc4c2e621a8 /cpukit | |
parent | 2006-01-10 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-41f36b57cd88575612be9350c69e4fbf27647595.tar.bz2 |
include and use inttypes.h.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libcsupport/src/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index c004c3a63f..5af6c41bef 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/error.c @@ -48,7 +48,7 @@ #include <rtems/error.h> #include <rtems/assoc.h> - +#include <inttypes.h> #include <stdio.h> #include <stdarg.h> #include <errno.h> @@ -134,7 +134,7 @@ static int rtems_verror( local_errno = errno; if (_System_state_Is_multiprocessing) - fprintf(stderr, "[%d] ", _Configuration_MP_table->node); + fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node); if (rtems_progname && *rtems_progname) chars_written += fprintf(stderr, "%s: ", rtems_progname); |