projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed58378
)
connection: return -EOPNOTSUPP if the connection has already died
author
Daniel Mack
<daniel@zonque.org>
Thu, 11 Sep 2014 14:38:35 +0000
(16:38 +0200)
committer
Daniel Mack
<daniel@zonque.org>
Thu, 11 Sep 2014 14:38:35 +0000
(16:38 +0200)
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index 1ba4df563db8319ea409785f4816ab0df92dc4d3..2778e0b995698119da066e00243dd2e185412027 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-797,7
+797,7
@@
int kdbus_conn_disconnect(struct kdbus_conn *conn, bool ensure_queue_empty)
mutex_lock(&conn->lock);
if (!kdbus_conn_active(conn)) {
mutex_unlock(&conn->lock);
- return -E
ALREADY
;
+ return -E
OPNOTSUPP
;
}
if (ensure_queue_empty && !list_empty(&conn->queue.msg_list)) {