]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: convert log_unit_*() to log_unit_*_errno()
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 28 Nov 2014 12:17:02 +0000 (13:17 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 28 Nov 2014 12:29:21 +0000 (13:29 +0100)
commit31938a8560a664c32a9d72f1fc2d4347b232e6e9
tree9f967dd20a3c372b9ccd5c3ea03c15c2708a22b9
parentb2dc4e44c540a30c5ea12a9a570425ceb310c320
core: convert log_unit_*() to log_unit_*_errno()

Using:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_unit_(debug|info|notice|warning|error|emergency)\(([^"]+), "(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_unit_\1_errno(\2, \5, "\3%m"\4);/'
src/core/automount.c
src/core/busname.c
src/core/execute.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/timer.c
src/core/unit.c
src/sysv-generator/sysv-generator.c