diff options
| author | William A. Kennington III <wak@google.com> | 2018-10-11 15:38:53 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2018-10-11 15:39:01 -0700 |
| commit | fba332baf4bdd290c3640960ac7fc0d44b1a6bd5 (patch) | |
| tree | 76150b0f2ed8ee3fd2bd069b29a6b2bd88efb49a /example/asio-example.cpp | |
| parent | 7a2ff91c98e97971d5a03db33c44f119302e0bc3 (diff) | |
| download | sdbusplus-fba332baf4bdd290c3640960ac7fc0d44b1a6bd5.tar.gz sdbusplus-fba332baf4bdd290c3640960ac7fc0d44b1a6bd5.zip | |
Use return value from sd_bus_error_set*
The return value from sd_bus_error_set is always a negative error value
mapping to the provided name. We should use this value instead of always
returning -EINVAL.
Change-Id: I102c7a0b306db873d44e9c1b7cbd9cc146ffe29c
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'example/asio-example.cpp')
0 files changed, 0 insertions, 0 deletions

