fs/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS

The macro was wrong
This commit is contained in:
Ville Juven 2024-01-31 15:56:23 +02:00 committed by Xiang Xiao
parent c5d8e5a0db
commit 43a26220be
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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

View File

@ -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))