bus-util: support mapping signed integers with bus_map_properties()
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Aug 2016 17:00:12 +0000 (19:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Aug 2016 14:14:21 +0000 (16:14 +0200)
commitbdf97b8ad84a66e0687222ac139603468162d785
treefb390eef26c516a05ea13b20f9627801c2696b53
parent05a98afd3e0513de50c5949b7fa50ff0989d68bc
bus-util: support mapping signed integers with bus_map_properties()

Let's make sure we can read the exit code/status properties exposed by PID 1
properly. Let's reuse the existing code for unsigned fields, as we just use it
to copy words around, and don't calculate it.
src/shared/bus-util.c