summaryrefslogtreecommitdiff
path: root/dbus/dbus-sysdeps-util-unix.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-07-21 11:01:01 +0100
committerSimon McVittie <smcv@debian.org>2016-09-30 19:36:51 +0100
commitf1cd229f83bf6de2fa0b978d8dab11bb0abb3490 (patch)
treeaab3a213b2ad521c58493441b11ba3851950549a /dbus/dbus-sysdeps-util-unix.c
parentb8abdc52afcc36dbd6dfbee3a5532048f88097bf (diff)
downloaddbus-f1cd229f83bf6de2fa0b978d8dab11bb0abb3490.tar.gz
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 <smcv@debian.org>
Diffstat (limited to 'dbus/dbus-sysdeps-util-unix.c')
-rw-r--r--dbus/dbus-sysdeps-util-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c
index 886c5b60..d9e8c4fc 100644
--- a/dbus/dbus-sysdeps-util-unix.c
+++ b/dbus/dbus-sysdeps-util-unix.c
@@ -345,7 +345,7 @@ _dbus_change_to_daemon_user (const char *user,
* is going to work then setgroups() should also work.
*/
if (setgroups (0, NULL) < 0)
- _dbus_warn ("Failed to drop supplementary groups: %s\n",
+ _dbus_warn ("Failed to drop supplementary groups: %s",
_dbus_strerror (errno));
/* Set GID first, or the setuid may remove our permission