diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-22 12:06:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-25 17:19:19 +0100 |
commit | 7bb70b6e3d6600d4c448c016b71073706460a12e (patch) | |
tree | 123a4b0014f5569c514deb699b801d1ea940587c /coccinelle/safe_close.cocci | |
parent | 3347dd5ea1dba5e27a677954b505bb6a2ee6cd75 (diff) |
core: normalize error handling a bit, in setup_pam()
Assign errno-style errors to a variable called "r" when they happen, the same way we do this in most other calls. It's
bad enough that the error handling part of the function deals with two different error variables (pam_code and r) now,
but before this fix it was even three!
Diffstat (limited to 'coccinelle/safe_close.cocci')
0 files changed, 0 insertions, 0 deletions