summaryrefslogtreecommitdiff
path: root/nuttx/fs/romfs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-10 18:08:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-10 18:08:49 -0600
commit6db1f6f71c8867cbae3a2c5597b01f321064a370 (patch)
treebd0b760c6467a0b528b7b29480f944c99c186693 /nuttx/fs/romfs
parent07d355e8f77afbc04ea94089071b0154e747acec (diff)
downloadpx4-nuttx-6db1f6f71c8867cbae3a2c5597b01f321064a370.tar.gz
px4-nuttx-6db1f6f71c8867cbae3a2c5597b01f321064a370.tar.bz2
px4-nuttx-6db1f6f71c8867cbae3a2c5597b01f321064a370.zip
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
Diffstat (limited to 'nuttx/fs/romfs')
-rw-r--r--nuttx/fs/romfs/fs_romfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/romfs/fs_romfs.c b/nuttx/fs/romfs/fs_romfs.c
index 6a6fca355..e2999f364 100644
--- a/nuttx/fs/romfs/fs_romfs.c
+++ b/nuttx/fs/romfs/fs_romfs.c
@@ -745,7 +745,7 @@ static int romfs_opendir(FAR struct inode *mountpt, FAR const char *relpath,
errout_with_semaphore:
romfs_semgive(rm);
- return ERROR;
+ return ret;
}
/****************************************************************************