diff options
Diffstat (limited to 'nuttx/net/local/local_release.c')
-rw-r--r-- | nuttx/net/local/local_release.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/local/local_release.c b/nuttx/net/local/local_release.c index c2d6092ce..d69a0a3da 100644 --- a/nuttx/net/local/local_release.c +++ b/nuttx/net/local/local_release.c @@ -133,7 +133,7 @@ int local_release(FAR struct local_conn_s *conn) client; client = (FAR struct local_conn_s *)dq_next(&client->lc_node)) { - client->u.client.lc_result = -ENETUNREACH; + client->u.client.lc_result = -ENOTCONN; sem_post(&client->lc_waitsem); conn->lc_state = LOCAL_STATE_CLOSED; } |