Changeset ef5da32 in rtems


Ignore:
Timestamp:
May 27, 2010, 4:32:46 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
4665f32
Parents:
fb1b349
Message:

2010-05-27 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/rfs/rtems-rfs-rtems.c: Use size_t instead of int for pathlen. Use %zi to print pathlen.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rfb1b349 ref5da32  
    112010-05-27      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libfs/src/rfs/rtems-rfs-rtems.c:
     4        Use size_t instead of int for pathlen.
     5        Use %zi to print pathlen.
    36        * libcsupport/include/rtems/libio.h:
    47        Use size_t instead of int for pathnamelen.
  • cpukit/libfs/src/rfs/rtems-rfs-rtems.c

    rfb1b349 ref5da32  
    5959int
    6060rtems_rfs_rtems_eval_path (const char*                       path,
    61                            int                               pathlen,
     61                           size_t                            pathlen,
    6262                           int                               flags,
    6363                           rtems_filesystem_location_info_t* pathloc)
     
    7373
    7474  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))
    75     printf ("rtems-rfs-rtems: eval-path: in: path:%s pathlen:%i ino:%ld\n",
     75    printf ("rtems-rfs-rtems: eval-path: in: path:%s pathlen:%zi ino:%ld\n",
    7676            path, pathlen, ino);
    7777 
Note: See TracChangeset for help on using the changeset viewer.