svn commit: r336858 - stable/11/sys/dev/vt/hw/vga

Eitan Adler eadler at FreeBSD.org
Sun Jul 29 05:14:27 UTC 2018


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)


More information about the svn-src-stable mailing list