diff --git a/fs/mount/fs_mount.c b/fs/mount/fs_mount.c index 1fd2864c35..8357aabcb1 100644 --- a/fs/mount/fs_mount.c +++ b/fs/mount/fs_mount.c @@ -298,7 +298,7 @@ int mount(FAR const char *source, FAR const char *target, * incremented. */ - DEBUGASSERT(mountpt_inode->u.i_mops == NULL); + DEBUGASSERT(mountpt_inode->u.i_mops != NULL); } else #endif