Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-09 | tree-wide: make use of log_error_errno() return value in more cases | Lennart Poettering | |
The previous coccinelle semantic patch that improved usage of log_error_errno()'s return value, only looked for log_error_errno() invocations with a single parameter after the error parameter. Update the patch to handle arbitrary numbers of additional arguments. | |||
2015-09-09 | tree-wide: make use of log_error_errno() return value | Lennart Poettering | |
Turns this: r = -errno; log_error_errno(errno, "foo"); into this: r = log_error_errno(errno, "foo"); and this: r = log_error_errno(errno, "foo"); return r; into this: return log_error_errno(errno, "foo"); |