Changeset 44ecf89 in mainline for uspace/srv/fs/fat/fat_directory.c


Ignore:
Timestamp:
2013-05-18T21:11:29Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
acdb5bac
Parents:
eef14771
Message:

Replace deprecated function bcmp() with memcmp().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_directory.c

    reef14771 r44ecf89  
    516516                        return false;
    517517                case FAT_DENTRY_VALID:
    518                         if (bcmp(de->name, d->name,
    519                             FAT_NAME_LEN + FAT_EXT_LEN)==0)
     518                        if (memcmp(de->name, d->name,
     519                            FAT_NAME_LEN + FAT_EXT_LEN) == 0)
    520520                                return true;
    521521                        break;
Note: See TracChangeset for help on using the changeset viewer.