Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 05:14:26 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336858 - stable/11/sys/dev/vt/hw/vga
Message-ID:  <201807290514.w6T5EQPq004082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Jul 29 05:14:26 2018
New Revision: 336858
URL: https://svnweb.freebsd.org/changeset/base/336858

Log:
  MFC r335631:
  
  Always initialize the ignore local variable.
  PR:		229235

Modified:
  stable/11/sys/dev/vt/hw/vga/vt_vga.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/vt/hw/vga/vt_vga.c
==============================================================================
--- stable/11/sys/dev/vt/hw/vga/vt_vga.c	Sun Jul 29 03:20:05 2018	(r336857)
+++ stable/11/sys/dev/vt/hw/vga/vt_vga.c	Sun Jul 29 05:14:26 2018	(r336858)
@@ -1213,6 +1213,7 @@ vga_acpi_disabled(void)
 	uint16_t flags;
 	int ignore;
 
+	ignore = 0;
 	TUNABLE_INT_FETCH("hw.vga.acpi_ignore_no_vga", &ignore);
 
 	if (ignore)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807290514.w6T5EQPq004082>