summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-17 19:21:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-17 19:21:07 -0600
commit2393757b0bb390447613db1e622067c771872ad3 (patch)
treeb92d2e64390b5f1ffda4cfe3ef4d2892368055fc
parent181f22ad0fc19a77a5835a12b839e3a3fcf0fbc9 (diff)
downloadnuttx-2393757b0bb390447613db1e622067c771872ad3.tar.gz
nuttx-2393757b0bb390447613db1e622067c771872ad3.tar.bz2
nuttx-2393757b0bb390447613db1e622067c771872ad3.zip
Fix a couple of typos in recent commit. Found by David Sidrane
-rw-r--r--nuttx/fs/fat/fs_mkfatfs.c2
-rw-r--r--nuttx/include/time.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fat/fs_mkfatfs.c b/nuttx/fs/fat/fs_mkfatfs.c
index e4fd14754..08eb618c2 100644
--- a/nuttx/fs/fat/fs_mkfatfs.c
+++ b/nuttx/fs/fat/fs_mkfatfs.c
@@ -300,7 +300,7 @@ int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt)
#ifdef CONFIG_FAT_DMAMEMORY
var.fv_sect = (uint8_t*)fat_dma_alloc(var.fv_sectorsize);
-+#else
+#else
var.fv_sect = (uint8_t*)kmm_malloc(var.fv_sectorsize);
#endif
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index 5630b7958..a5eb238f5 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -171,7 +171,7 @@ extern "C"
/* daylight - Daylight savings time flag */
/* EXTERN int daylight; not supported */
-/* timezone - Difference from UTC and local standard time
+/* timezone - Difference from UTC and local standard time */
/* EXTERN long int timezone; not supported */
/* tzname[] - Timezone strings */