From 6db1f6f71c8867cbae3a2c5597b01f321064a370 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Feb 2014 18:08:49 -0600 Subject: Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced --- nuttx/fs/romfs/fs_romfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/fs/romfs') 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; } /**************************************************************************** -- cgit v1.2.3