net/local/local_fifo.c: Fix an error found in build testing.

This commit is contained in:
Gregory Nutt 2018-09-15 18:13:49 -06:00
parent abc0e58799
commit a01cbede38

View File

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