diff options
author | Nick Withers <nick.withers@anu.edu.au> | 2013-12-05 12:52:42 +1100 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2014-12-23 22:49:26 -0500 |
commit | 86364e8c6ae55f7f15f426aefe8c260d96a3efc0 (patch) | |
tree | 91e96395206d66252602f8a4c71ad954a630199a /cpukit/libfs/src/rfs/rtems-rfs-file-system.h | |
parent | Use fixed-width C99 types for PowerPC in_be16() and co. (diff) | |
download | rtems-86364e8c6ae55f7f15f426aefe8c260d96a3efc0.tar.bz2 |
Correct error return mismatches
Closes #2139
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-file-system.h')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h index 99e8ebc24d..e00b142532 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h +++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h @@ -389,7 +389,7 @@ uint64_t rtems_rfs_fs_media_size (rtems_rfs_file_system* fs); * @param[in] max_held_buffers is the maximum number of buffers the RFS holds. * * @retval 0 Successful operation. - * @retval error_code An error occurred. + * @retval -1 Error. See errno */ int rtems_rfs_fs_open (const char* name, void* user, @@ -403,7 +403,7 @@ int rtems_rfs_fs_open (const char* name, * @param[in] fs is the file system data. * * @retval 0 Successful operation. - * @retval error_code An error occurred. + * @retval -1 Error. See errno */ int rtems_rfs_fs_close (rtems_rfs_file_system* fs); |