From f1cd229f83bf6de2fa0b978d8dab11bb0abb3490 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 21 Jul 2016 11:01:01 +0100 Subject: Remove trailing newlines from _dbus_warn, _dbus_warn_check_failed They used to be needed, but are not needed any more, and we were never completely consistent about including them in any case. Signed-off-by: Simon McVittie --- dbus/dbus-sysdeps-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-sysdeps-util.c') diff --git a/dbus/dbus-sysdeps-util.c b/dbus/dbus-sysdeps-util.c index 6b361ef0..f35c9666 100644 --- a/dbus/dbus-sysdeps-util.c +++ b/dbus/dbus-sysdeps-util.c @@ -97,7 +97,7 @@ check_dirname (const char *filename, if (!_dbus_string_equal_c_str (&d, dirname)) { - _dbus_warn ("For filename \"%s\" got dirname \"%s\" and expected \"%s\"\n", + _dbus_warn ("For filename \"%s\" got dirname \"%s\" and expected \"%s\"", filename, _dbus_string_get_const_data (&d), dirname); @@ -117,7 +117,7 @@ check_path_absolute (const char *path, if (_dbus_path_is_absolute (&p) != expected) { - _dbus_warn ("For path \"%s\" expected absolute = %d got %d\n", + _dbus_warn ("For path \"%s\" expected absolute = %d got %d", path, expected, _dbus_path_is_absolute (&p)); exit (1); } -- cgit v1.2.1