]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-kernel.c
sd-bus: fix error handling of pthread API calls
authorLennart Poettering <lennart@poettering.net>
Sat, 17 Oct 2015 14:23:45 +0000 (16:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 17 Oct 2015 14:48:21 +0000 (16:48 +0200)
commit50e0d56cf37d8ca5b9162ab83906920392998623
tree3563d821d18c57218de7e5a2bed8a283e7eb5f3f
parent1a37c9756f0c55917192e1a229977734b1f7ea45
sd-bus: fix error handling of pthread API calls

pthread APIs (unlike the rest of libc) return their errors as positive
error codes directly from the functions, rather than using errno. Let's
make sure we always handle things that way.
src/bus-proxyd/bus-proxyd.c
src/bus-proxyd/bus-xml-policy.c
src/libsystemd/sd-bus/bus-kernel.c
src/libsystemd/sd-event/sd-event.c