Diff between 92a1173577e7ae4b332bd38a908e97e2dd9fc73c and 7ad750ebc50afa903a2c15b132053135cf04eecd

Changed Files

File Additions Deletions Status
src/gatt-client.c +1 -1 modified

Full Patch

diff --git a/src/gatt-client.c b/src/gatt-client.c
index 029a9d1..2af6979 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -309,7 +309,7 @@ static void async_dbus_op_reply(struct async_dbus_op *op, int err,
 
 		if (err) {
 			reply = err > 0 ? create_gatt_dbus_error(msg, err) :
-				btd_error_failed(msg, strerror(err));
+				btd_error_failed(msg, strerror(-err));
 			goto send_reply;
 		}