You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/04/01 10:30:53 UTC

[incubator-nuttx] branch master updated: Fix a fatal typo in a recent change

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new e811677  Fix a fatal typo in a recent change
e811677 is described below

commit e8116777477548797a5f5332abe163ad9580cb2f
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Apr 1 18:40:56 2020 +0900

    Fix a fatal typo in a recent change
    
    A typo in:
        commit ae401cecdd3c076974184bd6cc02c93cada5fc64
        ("Check return from nxsem_wait_initialize()")
---
 fs/inode/fs_inoderelease.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/inode/fs_inoderelease.c b/fs/inode/fs_inoderelease.c
index 237c1f6..85eca49 100644
--- a/fs/inode/fs_inoderelease.c
+++ b/fs/inode/fs_inoderelease.c
@@ -61,7 +61,7 @@ void inode_release(FAR struct inode *node)
            * reference count would be wrong.
            */
 
-          DEBUGASSERT(ret = OK || ret == -ECANCELED);
+          DEBUGASSERT(ret == OK || ret == -ECANCELED);
         }
       while (ret < 0);