summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-01-07 09:32:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-01-07 09:49:16 +0100
commit9c12bcfdc52d7887c26d97bfcb8eb5fc86f2bc1a (patch)
tree5c7002d8dacec7e869ab72ee1e7eaa427ea03fac /cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
parentscore: Remove superfluous include from chainimpl.h (diff)
downloadrtems-9c12bcfdc52d7887c26d97bfcb8eb5fc86f2bc1a.tar.bz2
Fix format warnings
Diffstat (limited to 'cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c')
-rw-r--r--cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c b/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
index f2c4c10613..b15103e53d 100644
--- a/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
+++ b/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
@@ -486,7 +486,7 @@ rtems_fdt_shell_tst (int argc, char *argv[])
start = time (NULL);
printf ("0x%08" PRIx32 " => (value & 0x%08" PRIx32 ") == 0x%08" PRIx32 \
- " for %" PRIu32 " seconds\n",
+ " for %ld seconds\n",
address, mask, test, rtems_fdt_test_timeout);
while ((time (NULL) - start) < rtems_fdt_test_timeout)
@@ -533,7 +533,7 @@ rtems_fdt_shell_to (int argc, char *argv[])
if (argc == 1)
{
- printf ("timeout: %" PRIu32 " seconds\n", rtems_fdt_test_timeout);
+ printf ("timeout: %ld seconds\n", rtems_fdt_test_timeout);
return 0;
}