]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson_options.txt
Optionally call printf on LOG_MESSAGE() arguments
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 May 2022 12:11:55 +0000 (14:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 11 May 2022 14:47:40 +0000 (16:47 +0200)
commitb9ce5cf9caf52503394ad5eac7a3dee2eee1a296
tree81597533b7cc9d504788efa367e2263637250d9c
parentf66020ab7f79b639f5ba985367245132344f2a72
Optionally call printf on LOG_MESSAGE() arguments

With an intentional mistake:

../src/login/logind-dbus.c: In function ‘bus_manager_log_shutdown’:
../src/login/logind-dbus.c:1542:39: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
 1542 |                           LOG_MESSAGE("%s %s", message),
      |                                       ^~~~~~~
meson.build
meson_options.txt
src/basic/log.h
src/core/unit.h