mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
fs/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS
The macro was wrong
This commit is contained in:
parent
c5d8e5a0db
commit
43a26220be
3 changed files with 3 additions and 3 deletions
|
|
@ -20,6 +20,6 @@
|
|||
|
||||
# Include POSIX message queue support
|
||||
|
||||
if(CONFIG_FS_SHM)
|
||||
if(CONFIG_FS_SHMFS)
|
||||
target_sources(fs PRIVATE shm_open.c shm_unlink.c shmfs.c shmfs_alloc.c)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ config FS_SHMFS_VFS_PATH
|
|||
The path to where shared memory objects will exist in the VFS
|
||||
namespace.
|
||||
|
||||
endif # FS_SHM
|
||||
endif # FS_SHMFS
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ int inode_stat(FAR struct inode *inode, FAR struct stat *buf, int resolve)
|
|||
}
|
||||
else
|
||||
#endif
|
||||
#if defined(CONFIG_FS_SHM)
|
||||
#if defined(CONFIG_FS_SHMFS)
|
||||
/* Check for shared memory */
|
||||
|
||||
if (INODE_IS_SHM(inode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue