diff options
-rw-r--r-- | src/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c index 7370a07e..3273c673 100644 --- a/src/session.c +++ b/src/session.c @@ -1689,7 +1689,7 @@ static void session_create_cb(struct connman_session *session, out: if (err < 0) { - __connman_error_failed(user_config->pending, err); + __connman_error_failed(user_config->pending, -err); free_session(session); } |