summaryrefslogtreecommitdiff
path: root/src/udev/mtd_probe/mtd_probe.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-16 22:13:34 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-16 22:13:34 +0200
commit759e02e79dd5e02becff6f34247aac9605ab410e (patch)
treec0ce13b125849bef3f53f5064052c30b35b28090 /src/udev/mtd_probe/mtd_probe.c
parent0d4605ec3c9c1392bb5f0abc590b1d855df5eebb (diff)
sd-bus: always fill in sd_bus_error paramters, on error
Whenever one of our calls is invoked with a non-NULL, writable sd_bus_error parameter, let's fill in some valid error on failure. We previously only filled in remote errors, but never local errors, which is hard to handle by users. Hence, let's clean this up to always fill in the error. This introduces a new bus_assert_return() macro that works like assert_return() but optionally also initializes a bus_error struct. Fixes #224. Based on a patch by Umut Tezduyar.
Diffstat (limited to 'src/udev/mtd_probe/mtd_probe.c')
0 files changed, 0 insertions, 0 deletions