Changeset c7f60bc3 in rtems


Ignore:
Timestamp:
Jun 16, 2010, 5:30:51 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
90cb370
Parents:
9d20b9d
Message:

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

  • libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9d20b9d rc7f60bc3  
    112010-06-16      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
    34        * libfs/src/rfs/rtems-rfs-rtems.c: Various 64bit fixes.
    45        Add PRIomode_t.
  • cpukit/libfs/src/rfs/rtems-rfs-inode.c

    r9d20b9d rc7f60bc3  
    2323#endif
    2424
     25#include <inttypes.h>
     26
    2527#include <rtems/rfs/rtems-rfs-block.h>
    2628#include <rtems/rfs/rtems-rfs-file-system.h>
     
    6163 
    6264  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))
    63     printf ("rtems-rfs: inode-open: ino: %lu\n", ino);
     65    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);
    6466
    6567  if (ino == RTEMS_RFS_EMPTY_INO)
     
    9496
    9597  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))
    96     printf ("rtems-rfs: inode-close: ino: %lu\n", handle->ino);
     98    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
    9799
    98100  rc = rtems_rfs_inode_unload (fs, handle, true);
     
    115117{
    116118  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))
    117     printf ("rtems-rfs: inode-load: ino=%lu loads=%i loaded=%s\n",
     119    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
    118120            handle->ino, handle->loads,
    119121            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");
     
    149151 
    150152  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))
    151     printf ("rtems-rfs: inode-unload: ino=%lu loads=%i loaded=%s\n",
     153    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
    152154            handle->ino, handle->loads,
    153155            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");
     
    204206    else if (RTEMS_RFS_S_ISLNK (mode))
    205207      type = "link";
    206     printf("rtems-rfs: inode-create: parent:%lu name:", parent);
     208    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
    207209    for (c = 0; c < length; c++)
    208210      printf ("%c", name[c]);
Note: See TracChangeset for help on using the changeset viewer.