diff options
author | Simon McVittie <smcv@debian.org> | 2016-07-21 11:01:01 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2016-09-30 19:36:51 +0100 |
commit | f1cd229f83bf6de2fa0b978d8dab11bb0abb3490 (patch) | |
tree | aab3a213b2ad521c58493441b11ba3851950549a /bus/dir-watch-inotify.c | |
parent | b8abdc52afcc36dbd6dfbee3a5532048f88097bf (diff) | |
download | dbus-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 'bus/dir-watch-inotify.c')
-rw-r--r-- | bus/dir-watch-inotify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/dir-watch-inotify.c b/bus/dir-watch-inotify.c index a287f0ba..447dc2db 100644 --- a/bus/dir-watch-inotify.c +++ b/bus/dir-watch-inotify.c @@ -157,7 +157,7 @@ _set_watched_dirs_internal (DBusList **directories) /* Not all service directories need to exist. */ if (errno != ENOENT) { - _dbus_warn ("Cannot setup inotify for '%s'; error '%s'\n", new_dirs[i], _dbus_strerror (errno)); + _dbus_warn ("Cannot setup inotify for '%s'; error '%s'", new_dirs[i], _dbus_strerror (errno)); goto out; } else @@ -236,7 +236,7 @@ _init_inotify (BusContext *context) #endif if (inotify_fd <= 0) { - _dbus_warn ("Cannot initialize inotify\n"); + _dbus_warn ("Cannot initialize inotify"); goto out; } @@ -252,7 +252,7 @@ _init_inotify (BusContext *context) if (watch == NULL) { - _dbus_warn ("Unable to create inotify watch\n"); + _dbus_warn ("Unable to create inotify watch"); goto out; } |