net/local/local_fifo.c: Fix an error found in build testing.
This commit is contained in:
parent
abc0e58799
commit
a01cbede38
@ -303,7 +303,7 @@ static int local_tx_open(FAR struct local_conn_s *conn, FAR const char *path,
|
||||
* outside the user's address space.
|
||||
*/
|
||||
|
||||
return ret == -ENOENT ? -EFAULT : -errcode;
|
||||
return ret == -ENOENT ? -EFAULT : ret;
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user