config-parser: remove unnecessary newline from _dbus_log()
authorSimon McVittie <smcv@debian.org>
Wed, 20 Jul 2016 07:55:55 +0000 (08:55 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Aug 2016 15:41:16 +0000 (16:41 +0100)
_dbus_log() already adds a newline.

Signed-off-by: Simon McVittie <smcv@debian.org>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97009

bus/config-parser.c

index 8072f59..2e2fa23 100644 (file)
@@ -2316,7 +2316,7 @@ include_dir (BusConfigParser   *parser,
                    * also some layer inversion going on, if we want to use
                    * the bus context.) */
                   _dbus_log (DBUS_SYSTEM_LOG_INFO,
-                             "Encountered error '%s' while parsing '%s'\n",
+                             "Encountered error '%s' while parsing '%s'",
                              error->message,
                              _dbus_string_get_const_data (&full_path));
                   dbus_error_free (error);