Changeset 21c0ca8 in rtems


Ignore:
Timestamp:
Nov 19, 2014, 8:38:16 PM (5 years ago)
Author:
Josh Oguin <josh.oguin@…>
Branches:
4.11, master
Children:
43d6a28
Parents:
10f28a3a
git-author:
Josh Oguin <josh.oguin@…> (11/19/14 20:38:16)
git-committer:
Joel Sherrill <joel.sherrill@…> (11/26/14 13:51:58)
Message:

dosfs/msdos_file.c: Return an error if it occurs

CodeSonar? flagged this as a case where the return value from fat_sync()
was not used. Now it is used to return pass/fail to the caller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_file.c

    r10f28a3a r21c0ca8  
    245245
    246246    rtems_semaphore_release(fs_info->vol_sema);
    247     return RC_OK;
    248 }
     247    if ( rc == 0 )
     248      return RC_OK;
     249
     250    rtems_set_errno_and_return_minus_one(EIO);
     251}
Note: See TracChangeset for help on using the changeset viewer.