diff --git a/fs/mount/fs_mount.c b/fs/mount/fs_mount.c index 1fd2864c351..8357aabcb11 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