[rtems commit] dosfs: Fix warning fix
Sebastian Huber
sebh at rtems.org
Mon Apr 27 07:11:07 UTC 2015
Module: rtems
Branch: master
Commit: f60b4f9344d28dead43f35fceee9232b017fb970
Changeset: http://git.rtems.org/rtems/commit/?id=f60b4f9344d28dead43f35fceee9232b017fb970
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Apr 27 09:10:49 2015 +0200
dosfs: Fix warning fix
---
cpukit/libfs/src/dosfs/msdos_rmnod.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libfs/src/dosfs/msdos_rmnod.c b/cpukit/libfs/src/dosfs/msdos_rmnod.c
index b91728c..78aa990 100644
--- a/cpukit/libfs/src/dosfs/msdos_rmnod.c
+++ b/cpukit/libfs/src/dosfs/msdos_rmnod.c
@@ -28,7 +28,7 @@ msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc,
msdos_fs_info_t *fs_info = pathloc->mt_entry->fs_info;
fat_file_fd_t *fat_fd = pathloc->node_access;
- if (fat_fd->fat_file_type == FAT_FILE)
+ if (fat_fd->fat_file_type == FAT_DIRECTORY)
{
bool is_empty = false;
More information about the vc
mailing list