svn commit: r352719 - stable/11/sys/kern
Andriy Gapon
avg at FreeBSD.org
Wed Sep 25 19:51:59 UTC 2019
Author: avg
Date: Wed Sep 25 19:51:58 2019
New Revision: 352719
URL: https://svnweb.freebsd.org/changeset/base/352719
Log:
MFC r351810: shutdown_halt: make sure that watchdog timer is stopped
Modified:
stable/11/sys/kern/kern_shutdown.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/kern/kern_shutdown.c
==============================================================================
--- stable/11/sys/kern/kern_shutdown.c Wed Sep 25 19:51:22 2019 (r352718)
+++ stable/11/sys/kern/kern_shutdown.c Wed Sep 25 19:51:58 2019 (r352719)
@@ -501,6 +501,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