chiark / gitweb /
terminal-util: make resolve_dev_console() less weird
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Feb 2018 16:30:37 +0000 (17:30 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:56 +0000 (07:58 +0200)
commit18344601acc263daef6008a4a0f2e8791fd20db7
tree63e21a95f7aab9ac172b425a54cafbc0e2eedd66
parent17cf319e946a8db177ec5a150b829469a71d785a
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