2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>

* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
	Various 64bit fixes.
This commit is contained in:
Ralf Corsepius
2010-06-16 16:59:43 +00:00
parent 9bc752b92d
commit 4b06da6f0a
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
Various 64bit fixes.
2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1556/cpukit

View File

@@ -20,6 +20,7 @@
#include "config.h"
#endif
#include <inttypes.h>
#include <errno.h>
#include <rtems/rfs/rtems-rfs-buffer.h>
@@ -66,8 +67,8 @@ rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,
int rc = 0;
if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))
printf ("rtems-rfs: bdbuf-release: block=%lu bdbuf=%lu %s\n",
(rtems_rfs_buffer_block) ((intptr_t) buffer->user),
printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
((intptr_t) buffer->user),
buffer->block, modified ? "(modified)" : "");
if (modified)