summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-23 12:03:22 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-23 12:03:22 -0500
commit291298222734ddee9ddd1b8661ea3094b9970731 (patch)
tree36cb89a17db87c3a8f57d918888e4524ab136430
parentlinpack/linpack-pc.c: Fix no return statement warning (diff)
downloadrtems-291298222734ddee9ddd1b8661ea3094b9970731.tar.bz2
amba/ahbstat.c: Correct printf() format
-rw-r--r--c/src/lib/libbsp/sparc/shared/amba/ahbstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c b/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
index 6153d5676c..8fff66c8f5 100644
--- a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
+++ b/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
@@ -154,7 +154,7 @@ 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 %lu by master %d"
+ printk("\n### AHBSTAT: %s %s error of size %lu by master %ld"
" at 0x%08lx\n",
status & AHBSTAT_STS_CE ? "single" : "non-correctable",
status & AHBSTAT_STS_HW ? "write" : "read",