diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-06 02:23:12 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-06 02:25:24 +0200 |
commit | 0fd525e85e9297c999c1b651a943743c68103729 (patch) | |
tree | f552ebe483a0616420e7ea00f86235b0357560e6 /tests | |
parent | 304489c30df7e8a70a4b453f1fe4b4671de2dfd1 (diff) | |
download | seatd-0fd525e85e9297c999c1b651a943743c68103729.tar.xz |
logind: close_device always returned error
Error handling was broken in close_device, always returning -1.
Use the return value, and add a few errno assignments while we're at it.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions