From fb22c557dc4a016751a19658ad869fde6da6e719 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 10 Sep 2008 19:09:47 +0000 Subject: [PATCH] cosmetic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@901 42af7a65-404d-4744-a932-0658087f49c3 --- fs/fat/fs_fat32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/fat/fs_fat32.c b/fs/fat/fs_fat32.c index 226008f436..1f8acd4fdb 100644 --- a/fs/fat/fs_fat32.c +++ b/fs/fat/fs_fat32.c @@ -1299,11 +1299,11 @@ errout_with_semaphore: static int fat_readdir(struct inode *mountpt, struct internal_dir_s *dir) { struct fat_mountpt_s *fs; - unsigned int dirindex; - ubyte *direntry; - ubyte ch; - ubyte attribute; - int ret = OK; + unsigned int dirindex; + ubyte *direntry; + ubyte ch; + ubyte attribute; + int ret = OK; /* Sanity checks */ @@ -1628,7 +1628,7 @@ static int fat_statfs(struct inode *mountpt, struct statfs *buf) /* Everything else follows in units of clusters */ buf->f_blocks = fs->fs_nclusters; /* Total data blocks in the file system */ - ret = fat_nfreeclusters(fs, &buf->f_bfree); /* Free blocks in the file system */ + buf->f_bfree = fat_nfreeclusters(fs, &buf->f_bfree); /* Free blocks in the file system */ buf->f_bavail = buf->f_bfree; /* Free blocks avail to non-superuser */ buf->f_namelen = (8+1+3); /* Maximum length of filenames */