From 56bce53a2c858262d7c315b991379bab8e154e95 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Tue, 22 Oct 2019 23:18:11 -0400 Subject: [PATCH] Fix #273: Correct format code in debug message Cast the address value so it may be printed as an integer. --- src/os/rtems/osfilesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/rtems/osfilesys.c b/src/os/rtems/osfilesys.c index f7d46996e..ce34bd0e7 100644 --- a/src/os/rtems/osfilesys.c +++ b/src/os/rtems/osfilesys.c @@ -174,7 +174,7 @@ int32 OS_FileSysStartVolume_Impl (uint32 filesys_id) impl->mount_fstype = RTEMS_FILESYSTEM_TYPE_RFS; OS_DEBUG("OSAL: RAM disk initialized: volume=%s device=%s address=0x%08lX\n", - local->volume_name, impl->blockdev_name, local->address); + local->volume_name, impl->blockdev_name, (unsigned long)local->address); return_code = OS_SUCCESS; break;