summary refs log tree commit diff
path: root/src/devices/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bluetooth')
-rw-r--r--src/devices/bluetooth/nm-bluez5-dun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-dun.c b/src/devices/bluetooth/nm-bluez5-dun.c
index 04859f9a..b9a1fa0a 100644
--- a/src/devices/bluetooth/nm-bluez5-dun.c
+++ b/src/devices/bluetooth/nm-bluez5-dun.c
@@ -386,7 +386,7 @@ nm_bluez5_dun_cleanup (NMBluez5DunContext *context)
 			struct rfcomm_dev_req req = { 0 };
 
 			req.dev_id = context->rfcomm_id;
-			ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req);
+			(void) ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req);
 			context->rfcomm_id = -1;
 		}
 		nm_close (context->rfcomm_fd);