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


Ignore:
Timestamp:
2011-08-24T21:16:13Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a5454cf
Parents:
ace588a
Message:

Remove str_reverse() and size_t_str().

File:
1 edited

Legend:

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

    race588a rc065743  
    4444#include <str.h>
    4545#include <align.h>
     46#include <stdio.h>
    4647
    4748int fat_directory_block_load(fat_directory_t *);
     
    347348        str_to_ascii(name, lname, name_len, FAT_SFN_CHAR);
    348349
    349         size_t idx;
     350        unsigned idx;
    350351        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);
    353353
    354354                /* Fill de->name with FAT_PAD */
Note: See TracChangeset for help on using the changeset viewer.