diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-12 17:27:33 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-18 15:21:28 -0500 |
commit | 011062f3c0cff25f60fa15eca8a20b8e47d7db72 (patch) | |
tree | fbc9ad1aed3edd06dd96239dd5953308bf9789c8 /src/login/sysfs-show.h | |
parent | 90f604d1289aa780da20659d3e68e1a6987f49d3 (diff) |
logind: do not use an uninitialized variable
We requested various fields using SD_BUS_CREDS_AUGMENT but at least
sd_bus_creds_get_tty can fail with ENXIO, not setting the output variable.
Diffstat (limited to 'src/login/sysfs-show.h')
0 files changed, 0 insertions, 0 deletions