summaryrefslogtreecommitdiff
path: root/src/basic/login-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-17 00:27:18 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-17 00:52:10 +0100
commitb16fee15ff0dbaa8140beb62dc27f3a686c70258 (patch)
treef14d180ed4d8127f57ba1d26221d4933508db539 /src/basic/login-util.c
parent0c28d28834f71e74d5a2d8bcfb19938a34396036 (diff)
remount-fs: modernize coding style a bit
a) Use _cleanup_ where it makes sense b) Uniformly use negative errno-style errors internally, convert to EXIT_FAILURE/EXIT_SUCCESS only when actually exiting. c) Use log_oom() where appropriate d) Fix minor memory leak in hashmap addition error path. e) Don't pretend we could continue sensibly on OOM or fork() failure f) Use PR_SET_PDEATHSIG to make sure clients we don't kill on error are cleaned up. g) Make use of STRV_MAKE() where it's pretty to do so. h) Simplify error paths.
Diffstat (limited to 'src/basic/login-util.c')
0 files changed, 0 insertions, 0 deletions