Changeset c065743 in mainline for uspace/srv/fs/fat/fat_directory.c
- Timestamp:
- 2011-08-24T21:16:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a5454cf
- Parents:
- ace588a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_directory.c
race588a rc065743 44 44 #include <str.h> 45 45 #include <align.h> 46 #include <stdio.h> 46 47 47 48 int fat_directory_block_load(fat_directory_t *); … … 347 348 str_to_ascii(name, lname, name_len, FAT_SFN_CHAR); 348 349 349 size_tidx;350 unsigned idx; 350 351 for (idx=1; idx <= FAT_MAX_SFN; idx++) { 351 if (size_t_str(idx, 10, number, FAT_NAME_LEN-2)!=EOK) 352 return EOVERFLOW; 352 snprintf(number, sizeof(number), "%u", idx); 353 353 354 354 /* Fill de->name with FAT_PAD */
Note:
See TracChangeset
for help on using the changeset viewer.