Skip to content

Commit

Permalink
Fix #273: Correct format code in debug message
Browse files Browse the repository at this point in the history
Cast the address value so it may be printed as an integer.
  • Loading branch information
jphickey authored and skliper committed Oct 31, 2019
1 parent 8310170 commit c75b38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/rtems/osfilesys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c75b38d

Please sign in to comment.