svn commit: r352718 - stable/12/sys/kern

Andriy Gapon avg at FreeBSD.org
Wed Sep 25 19:51:22 UTC 2019


Author: avg
Date: Wed Sep 25 19:51:22 2019
New Revision: 352718
URL: https://svnweb.freebsd.org/changeset/base/352718

Log:
  MFC r351810: shutdown_halt: make sure that watchdog timer is stopped

Modified:
  stable/12/sys/kern/kern_shutdown.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/kern_shutdown.c
==============================================================================
--- stable/12/sys/kern/kern_shutdown.c	Wed Sep 25 19:49:48 2019	(r352717)
+++ stable/12/sys/kern/kern_shutdown.c	Wed Sep 25 19:51:22 2019	(r352718)
@@ -564,6 +564,9 @@ shutdown_halt(void *junk, int howto)
 		printf("\n");
 		printf("The operating system has halted.\n");
 		printf("Please press any key to reboot.\n\n");
+
+		wdog_kern_pat(WD_TO_NEVER);
+
 		switch (cngetc()) {
 		case -1:		/* No console, just die */
 			cpu_halt();


More information about the svn-src-all mailing list