]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/log: add an assert that does not recurse into logging functions 8258/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Feb 2018 12:29:03 +0000 (13:29 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Feb 2018 12:29:03 +0000 (13:29 +0100)
commit780747da75b737b5036f8c17fb99c54c52762eed
tree56677f5d576547c254814c92bd67d722651d8c1f
parent73fc96c8ac0aa95477e53838a22ce94918c9d06f
basic/log: add an assert that does not recurse into logging functions

Then it can be used in the asserts in logging functions without causing
infinite recursion. The error is just printed to stderr, it should be
good enough for the common case.
src/basic/log.c