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 /dbus/dbus-sysdeps-pthread.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 'dbus/dbus-sysdeps-pthread.c')
-rw-r--r-- | dbus/dbus-sysdeps-pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-pthread.c b/dbus/dbus-sysdeps-pthread.c index bc0b2c35..e1c14f99 100644 --- a/dbus/dbus-sysdeps-pthread.c +++ b/dbus/dbus-sysdeps-pthread.c @@ -73,7 +73,7 @@ struct DBusCondVar { #define PTHREAD_CHECK(func_name, result_or_call) do { \ int tmp = (result_or_call); \ if (tmp != 0) { \ - _dbus_warn_check_failed ("pthread function %s failed with %d %s in %s\n", \ + _dbus_warn_check_failed ("pthread function %s failed with %d %s in %s", \ func_name, tmp, strerror(tmp), _DBUS_FUNCTION_NAME); \ } \ } while (0) |