From 60185fe969614b01d5dc57f3aa157b24d2901af6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Feb 2013 19:31:30 +0000 Subject: New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char ** git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/fs/fat/fs_configfat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/fs/fat/fs_configfat.c') diff --git a/nuttx/fs/fat/fs_configfat.c b/nuttx/fs/fat/fs_configfat.c index 04141ee2b..d0365b0e6 100644 --- a/nuttx/fs/fat/fs_configfat.c +++ b/nuttx/fs/fat/fs_configfat.c @@ -450,7 +450,7 @@ mkfatfs_tryfat12(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var, * maxnclusters = nfatsects * sectorsize / 1.5 - 2 */ - maxnclusters = (config->fc_nfatsects >> (var->fv_sectshift + 1)) / 3; + maxnclusters = (config->fc_nfatsects << (var->fv_sectshift + 1)) / 3; if (maxnclusters > FAT_MAXCLUST12) { maxnclusters = FAT_MAXCLUST12; -- cgit v1.2.3