]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/log: add concept of "synthethic errnos"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Nov 2018 22:03:40 +0000 (23:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 22 Nov 2018 09:45:08 +0000 (10:45 +0100)
commit52d86690d68779b120a4380f7cc740825827fb0d
treedf6b82a672757c51d91468c102672d1b4f5a7655
parent883eb9be985fd86d9cabe967eeeab91cdd396a81
basic/log: add concept of "synthethic errnos"

Synthetic errnos are processed like normal, and may be used in %m and become
the return value from log_*(), but they are not logged in the journal.
src/basic/log.c
src/basic/log.h
src/test/test-log.c