diff options
author | Hans De Goede <hdegoede@redhat.com> | 2016-07-07 10:55:04 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-07-08 13:43:25 -0400 |
commit | 033888e7766d226a179357d970223428c19c4b53 (patch) | |
tree | f941b1a646dd9e1d2f95483b2bca555b3c55c398 /dix | |
parent | ce24f3aa5815e03c2d501d1504f6c0162b219801 (diff) |
linux: Do not try to open /dev/vc/0, fix error msg when /dev/tty0 open fails
/dev/vc/0 is a devfs thing which is long dead, so stop trying to open
/dev/vc/0, besides being a (small) code cleanup this will also fix the
"parse_vt_settings: Cannot open /dev/tty0 (%s)\n" error message to
display the actual error, rather then the -ENOENT from also trying
/dev/vc/0.
BugLink: https://patchwork.freedesktop.org/patch/8768/
Reported-by: Chad Versace <chad.versace@linux.intel.com>
Suggested-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'dix')
0 files changed, 0 insertions, 0 deletions