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

Cstyle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_directory.c

    rff0c270 r0dbe5ac  
    147147        if (di->pos > 0) {
    148148                di->pos -= 1;
    149                 rc=exfat_directory_block_load(di);
    150         }
    151         else
     149                rc = exfat_directory_block_load(di);
     150        } else
    152151                return ENOENT;
    153152       
    154         if (rc!=EOK)
     153        if (rc != EOK)
    155154                di->pos += 1;
    156155       
     
    281280                return rc;
    282281        count = de->file.count + 1;
    283         array = (exfat_dentry_t *) malloc(count*sizeof(exfat_dentry_t));
     282        array = (exfat_dentry_t *) malloc(count * sizeof(exfat_dentry_t));
    284283        if (!array)
    285284                return ENOMEM;
     
    290289                array[i] = *de;
    291290                rc = exfat_directory_next(di);
    292                 if (rc!=EOK) {
     291                if (rc != EOK) {
    293292                        free(array);
    294293                        return rc;
     
    378377
    379378        /* Looking for set of free entries */
    380         rc = exfat_directory_lookup_free(di, df.file.count+1);
     379        rc = exfat_directory_lookup_free(di, df.file.count + 1);
    381380        if (rc != EOK)
    382381                return rc;
Note: See TracChangeset for help on using the changeset viewer.