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

Adam Jackson ajax at nwnk.net
Fri Jul 8 17:47:32 UTC 2016


On Thu, 2016-07-07 at 12:24 -0700, Chad Versace wrote:
> 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>

   ce24f3a..033888e  master -> master

- ajax


More information about the xorg-devel mailing list