Ignore:
Timestamp:
Mar 5, 2015, 9:34:28 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
16b2de35
Parents:
6fd5b4e
git-author:
Sebastian Huber <sebastian.huber@…> (03/05/15 09:34:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/05/15 10:23:10)
Message:

dosfs: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_create.c

    r6fd5b4e rc735cd5  
    6060int
    6161msdos_creat_node(const rtems_filesystem_location_info_t  *parent_loc,
    62                  msdos_node_type_t                        type,
     62                 fat_file_type_t                          type,
    6363                 const char                              *name,
    6464                 int                                      name_len,
     
    116116    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;
    117117
    118     if (type == MSDOS_DIRECTORY) {
     118    if (type == FAT_DIRECTORY) {
    119119      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;
    120120    }
    121     else if (type == MSDOS_HARD_LINK) {
     121    else if (type == FAT_HARD_LINK) {
    122122      /*
    123123       * when we establish a (temporary) hard link,
     
    178178     * to do
    179179     */
    180     if (type == MSDOS_DIRECTORY)
     180    if (type == FAT_DIRECTORY)
    181181    {
    182182        /* open new directory as fat-file */
Note: See TracChangeset for help on using the changeset viewer.