]> git.ipfire.org Git - thirdparty/systemd.git/commit
terminal-util: make resolve_dev_console() less weird
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Feb 2018 16:30:37 +0000 (17:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Feb 2018 16:30:37 +0000 (17:30 +0100)
commit7b91264852f63ba7f775dfb4a82cc2b64d4a61bc
tree84cca750eb5b28ed0a151377a8ac4ef7435d1370
parentbef41af2332252e4e1774ccba23eba6aef959074
terminal-util: make resolve_dev_console() less weird

Let's normalize the behaviour: return a negative errno style error code,
and return the resolved string directly as argument.
src/basic/terminal-util.c
src/basic/terminal-util.h
src/core/execute.c