Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree-wide: make use of log_error_errno() return value in more cases | Lennart Poettering | 2015-09-09 | 1 | -18/+24 |
| | | | | | | | 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. | ||||
* | tree-wide: make use of log_error_errno() return value | Lennart Poettering | 2015-09-09 | 1 | -0/+42 |
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"); |