diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-04 12:59:22 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 74102fa68ea25cd7e8914f112f357760130728fb (patch) | |
tree | d07112608de6fb911e0cdde0dbcc9cc28f081e8e /src/login/logind-dbus.c | |
parent | 2ec9aee55b39af874d9582d3884c02f43d6c98fe (diff) |
basic/log: add the log_struct terminator to macro
This way all callers do not need to specify it.
Exhaustively tested by running test-log under valgrind ;)
Diffstat (limited to 'src/login/logind-dbus.c')
-rw-r--r-- | src/login/logind-dbus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 776caed8c..507368604 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -1436,8 +1436,7 @@ static int bus_manager_log_shutdown( return log_struct(LOG_NOTICE, "MESSAGE_ID=" SD_MESSAGE_SHUTDOWN_STR, p, - q, - NULL); + q); } #endif // 0 |