Return-Path: Subject: [PATCH Bluez 1/6] core: Add group information to warning message for main.conf To: "linux-bluetooth@vger.kernel.org" References: From: ERAMOTO Masaya Message-ID: Date: Thu, 27 Jul 2017 20:21:35 +0900 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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