diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-20 18:22:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-20 18:22:21 +0000 |
commit | fce497aecaf6826d6fec3cfcb761abeac7fe72bf (patch) | |
tree | 6d2f0d4610067c2b0e4c3f831274037c9ceba91a /nuttx/fs | |
parent | 3d7ed16eabcbea16723b66df2cd2a7d10ba22474 (diff) | |
download | px4-nuttx-fce497aecaf6826d6fec3cfcb761abeac7fe72bf.tar.gz px4-nuttx-fce497aecaf6826d6fec3cfcb761abeac7fe72bf.tar.bz2 px4-nuttx-fce497aecaf6826d6fec3cfcb761abeac7fe72bf.zip |
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
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/fat/fs_fat32dirent.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |