summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos_mknod.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 10:34:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:23:10 +0100
commitc735cd5a1f24bcf5023fcd5fc4097a1fced45652 (patch)
treee28ae0bcd818200f8548c7df685c26169725fbbc /cpukit/libfs/src/dosfs/msdos_mknod.c
parenttests: Fix warning (diff)
downloadrtems-c735cd5a1f24bcf5023fcd5fc4097a1fced45652.tar.bz2
dosfs: Fix warnings
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_mknod.c')
-rw-r--r--cpukit/libfs/src/dosfs/msdos_mknod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_mknod.c b/cpukit/libfs/src/dosfs/msdos_mknod.c
index 0b5bfd20b8..28b34636d4 100644
--- a/cpukit/libfs/src/dosfs/msdos_mknod.c
+++ b/cpukit/libfs/src/dosfs/msdos_mknod.c
@@ -43,18 +43,18 @@ int msdos_mknod(
)
{
int rc = RC_OK;
- msdos_node_type_t type = 0;
+ fat_file_type_t type = 0;
/*
* Figure out what type of msdos node this is.
*/
if (S_ISDIR(mode))
{
- type = MSDOS_DIRECTORY;
+ type = FAT_DIRECTORY;
}
else if (S_ISREG(mode))
{
- type = MSDOS_REGULAR_FILE;
+ type = FAT_FILE;
}
else
rtems_set_errno_and_return_minus_one(EINVAL);