chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
0231325
)
log: properly return -EINVAL from log_set_max_level_from_string()
author
Lennart Poettering
<lennart@poettering.net>
Wed, 30 Sep 2015 12:16:40 +0000
(14:16 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:10 +0000
(10:45 +0200)
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.
No differences found