From 7d509194b09103b071dcb2928e950f054562f169 Mon Sep 17 00:00:00 2001 From: ERAMOTO Masaya Date: Thu, 27 Jul 2017 20:21:35 +0900 Subject: [PATCH] core: Add group information to warning message for main.conf 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 b88cf117a..578b26289 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.47.3