mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
56f64d9576
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. |
||
---|---|---|
.. | ||
sd-bus | ||
sd-daemon | ||
sd-event | ||
sd-id128 | ||
sd-login | ||
sd-network | ||
sd-path | ||
sd-resolve | ||
sd-rtnl | ||
sd-utf8 | ||
.gitignore | ||
libsystemd.pc.in | ||
libsystemd.sym.m4 | ||
Makefile |