From fce497aecaf6826d6fec3cfcb761abeac7fe72bf Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 20 Mar 2013 18:22:21 +0000 Subject: Change prototypes of up_create_stack and up_release_stack to include a task type parameter git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/fs/fat/fs_fat32dirent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/fs') diff --git a/nuttx/fs/fat/fs_fat32dirent.c b/nuttx/fs/fat/fs_fat32dirent.c index 39bdb5371..dd10a3f62 100644 --- a/nuttx/fs/fat/fs_fat32dirent.c +++ b/nuttx/fs/fat/fs_fat32dirent.c @@ -2344,14 +2344,14 @@ int fat_finddirentry(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo, if (ret < 0) { /* A return value of -ENOENT would mean that the path segement - * was not found. Let's distinguish to cases: (1) the final + * was not found. Let's distinguish two cases: (1) the final * file was not found in the directory (-ENOENT), or (2) one * of the directory path segments does not exist (-ENOTDIR) */ if (ret == -ENOENT && terminator != '\0') { - return -ENOTDIR; + ret = -ENOTDIR; } return ret; -- cgit v1.2.3