[Bug 1695] New: bytes_transfered = rtems_rfs_rtems_error

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sun Aug 29 04:11:09 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1695

           Summary: bytes_transfered = rtems_rfs_rtems_error
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: ralf.corsepius at rtems.org


Next to cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c:145
you find this code:
..
    if (rc > 0)
    {
      bytes_transfered = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;
    }
..

The bytes_transfered = rtems_rfs_rtems_error (...) doesn't seem right to me:
* rtems_rfs_rtems_error returns a boolean error.

=> I doubt adding such a boolean error to a size is right

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list