2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>

* libmisc/monitor/mon-driver.c: Fix warning if
	defined(RTEMS_USE_16_BIT_OBJECT).
This commit is contained in:
Ralf Corsepius
2009-10-02 15:54:47 +00:00
parent 1a32895534
commit 7093646b95
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-driver.c: Fix warning if
defined(RTEMS_USE_16_BIT_OBJECT).
* libmisc/monitor/mon-prmisc.c: Fix warning if
defined(RTEMS_USE_16_BIT_OBJECT).

View File

@@ -111,8 +111,11 @@ rtems_monitor_driver_dump(
{
uint32_t length = 0;
#if defined(RTEMS_USE_16_BIT_OBJECT)
length += fprintf(stdout," %" PRId16 "", monitor_driver->id);
#else
length += fprintf(stdout," %" PRId32 "", monitor_driver->id);
#endif
length += rtems_monitor_pad(13, length);
length += fprintf(stdout,"init: ");
length += rtems_monitor_symbol_dump(&monitor_driver->initialization, verbose);