[Bug 1516] New: typo in fchmod

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri May 14 06:47:33 UTC 2010


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

           Summary: typo in fchmod
           Product: RTEMS
           Version: unknown
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: nbkolchin at gmail.com


Code:

  if ( !iop->handlers->fchmod_h )                                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                            

  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode );  

Should be:

  if ( !iop->pathinfo.handlers->fchmod_h ) // added pathinfo
    rtems_set_errno_and_return_minus_one( ENOTSUP );                            

  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode );

-- 
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