diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-24 19:24:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-24 19:24:53 +0200 |
commit | 455cd8b137b8ef45d04889f2d967c562a097f1e6 (patch) | |
tree | 131d470bb63c77d31cb5f7edbbb6385bb50b2fdf /src/core/kill.h | |
parent | bb1fada8cc691821ade680c36dfb2be13e0658d6 (diff) |
sd-bus: if we don't manage to properly allocate the error message for an sd_bus_error, just go on
sd_bus_error_setfv() must initialize the sd_bus_error value to some
sensible value and then return a good errno code matching that. If it
cannot work at all it should set the error statically to the OOM error.
But if it can work half-way (i.e. initialize the name, but not the
message) it should do so and still return the correct errno number for
it.
This effectively reverts 8bf13eb1e02b9977ae1cd331ae5dc7305a305a09
Diffstat (limited to 'src/core/kill.h')
0 files changed, 0 insertions, 0 deletions