From 2d4ad03d2cf41fd0325e0315e67abe75d4759901 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Tue, 20 Mar 2018 06:38:53 -0600 Subject: [PATCH] include/nuttx/fs/dirent.h: Fix CROMFS-related compilation error. --- include/nuttx/fs/dirent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nuttx/fs/dirent.h b/include/nuttx/fs/dirent.h index c29d5de50df..ec371ea836d 100644 --- a/include/nuttx/fs/dirent.h +++ b/include/nuttx/fs/dirent.h @@ -1,7 +1,7 @@ /**************************************************************************** * include/nuttx/fs/dirent.h * - * Copyright (C) 2007, 2009, 2011-2013, 2015, 20189 Gregory Nutt. All + * Copyright (C) 2007, 2009, 2011-2013, 2015, 2018 Gregory Nutt. All * rights reserved. * Author: Gregory Nutt * @@ -111,7 +111,7 @@ struct fs_cromfsdir_s off_t cr_firstoffset; /* Offset to the first entry in the directory */ off_t cr_curroffset; /* Current offset into the directory contents */ }; -#endif /* CONFIG_FS_ROMFS */ +#endif /* CONFIG_FS_CROMFS */ #ifdef CONFIG_FS_TMPFS /* For TMPFS, we need the directory object and an index into the directory @@ -255,7 +255,7 @@ struct fs_dirent_s #ifdef CONFIG_FS_ROMFS struct fs_romfsdir_s romfs; #endif -#ifdef CONFIG_FS_ROMFS +#ifdef CONFIG_FS_CROMFS struct fs_cromfsdir_s cromfs; #endif #ifdef CONFIG_FS_TMPFS