diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-30 14:16:40 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-29 10:45:10 +0200 |
commit | 02313252e36e309776829312ab87e9a489e6572f (patch) | |
tree | 4087aacb2ee81cbf710300bcd155462be9d8335f /LICENSE.MIT | |
parent | 1d883c59d17d938fc4307be44e5f654bd62fdeb3 (diff) |
log: properly return -EINVAL from log_set_max_level_from_string()
If we just return the value we got from log_level_from_string() on
failure we'll return -1, which is not a proper error code.
log_set_target_from_string() did get this right already, hence let's fix
this here too.
Diffstat (limited to 'LICENSE.MIT')
0 files changed, 0 insertions, 0 deletions