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

Julien Cristau jcristau at debian.org
Thu Jul 7 09:29:20 UTC 2016


On Thu, Jul  7, 2016 at 10:55:04 +0200, 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: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list