[PATCH xserver] linux: Do not try to open /dev/vc/0, fix error msg when /dev/tty0 open fails

Chad Versace chad.versace at intel.com
Thu Jul 7 19:24:58 UTC 2016


On Thu 07 Jul 2016, Hans de Goede wrote:
> /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 at linux.intel.com>
> Suggested-by: Julien Cristau <jcristau at debian.org>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>  hw/xfree86/os-support/linux/lnx_init.c | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)

Reviewed-by: Chad Versace <chad.versace at intel.com>



More information about the xorg-devel mailing list