Fix some spacing problems

This commit is contained in:
Gregory Nutt
2015-10-04 15:04:00 -06:00
parent 863ded3584
commit 0b12dbf95d
88 changed files with 226 additions and 229 deletions
+2 -2
View File
@@ -463,7 +463,7 @@ static inline int fat_parsesfname(const char **path,
dirinfo->fd_name[ndx++] = ch;
}
errout:
errout:
return -EINVAL;
}
@@ -552,7 +552,7 @@ static inline int fat_parselfname(const char **path,
dirinfo->fd_lfname[ndx++] = ch;
}
errout:
errout:
dirinfo->fd_lfname[0] = '\0';
return -EINVAL;
}
+2 -2
View File
@@ -683,11 +683,11 @@ int fat_mount(struct fat_mountpt_s *fs, bool writeable)
return OK;
errout_with_buffer:
errout_with_buffer:
fat_io_free(fs->fs_buffer, fs->fs_hwsectorsize);
fs->fs_buffer = 0;
errout:
errout:
fs->fs_mounted = false;
return ret;
}
+1 -1
View File
@@ -333,7 +333,7 @@ static inline int mkfatfs_writembr(FAR struct fat_format_s *fmt,
/* Write all of the reserved sectors */
memset(var->fv_sect, 0, var->fv_sectorsize);
for (sectno = 1; sectno < fmt->ff_rsvdseccount && ret >= 0; sectno++)
for (sectno = 1; sectno < fmt->ff_rsvdseccount && ret >= 0; sectno++)
{
ret = DEV_WRITE(var->fv_sect, sectno, 1);
}