diff options
Diffstat (limited to 'bsps/sparc/shared/amba/ahbstat.c')
-rw-r--r-- | bsps/sparc/shared/amba/ahbstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/sparc/shared/amba/ahbstat.c b/bsps/sparc/shared/amba/ahbstat.c index f57d6430c9..4e4cd72525 100644 --- a/bsps/sparc/shared/amba/ahbstat.c +++ b/bsps/sparc/shared/amba/ahbstat.c @@ -8,7 +8,7 @@ * http://www.rtems.org/license/LICENSE. */ -#include <stdint.h> +#include <inttypes.h> #include <string.h> #include <rtems.h> #include <rtems/bspIo.h> @@ -177,8 +177,8 @@ void ahbstat_isr(void *arg) rc = ahbstat_error(priv->minor, priv->regs, status, fadr); if ((rc & 0x1) == 0) { - printk("\n### AHBSTAT: %s %s error of size %ld by master %ld" - " at 0x%08lx\n", + printk("\n### AHBSTAT: %s %s error of size %" PRId32 + " by master %" PRId32 " at 0x%08" PRIx32 "\n", status & AHBSTAT_STS_CE ? "single" : "non-correctable", status & AHBSTAT_STS_HW ? "write" : "read", (status & AHBSTAT_STS_HS) >> AHBSTAT_STS_HS_BIT, |