[gnome-bluetooth] Remove rfkill warning spout, when it's not actually an error
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Remove rfkill warning spout, when it's not actually an error
- Date: Wed, 7 Oct 2009 15:05:19 +0000 (UTC)
commit b43d82a5dcfd872d86eba3b83e4fa565937e1463
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 7 16:04:42 2009 +0100
Remove rfkill warning spout, when it's not actually an error
lib/bluetooth-killswitch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-killswitch.c b/lib/bluetooth-killswitch.c
index a4beeae..3985029 100644
--- a/lib/bluetooth-killswitch.c
+++ b/lib/bluetooth-killswitch.c
@@ -285,7 +285,7 @@ bluetooth_killswitch_init (BluetoothKillswitch *killswitch)
len = read(fd, &event, sizeof(event));
if (len < 0) {
- if (errno == -G_IO_ERROR_AGAIN)
+ if (errno == EAGAIN)
break;
g_message ("Reading of RFKILL events failed");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]