[PATCH Bluez 1/6] core: Add group information to warning message for main.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Into warning message for main.conf, this adds group information like:
  bluetoothd[XXXX]: Unknown key PirableTimeout for group General in main.conf
---
 src/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index b88cf11..578b262 100644
--- a/src/main.c
+++ b/src/main.c
@@ -206,7 +206,8 @@ static void check_config(GKeyFile *config)
 		}
 
 		if (!found)
-			warn("Unknown key %s in main.conf", keys[i]);
+			warn("Unknown key %s for group %s in main.conf",
+							keys[i], "General");
 	}
 
 	g_strfreev(keys);
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux