Fix boot -p for DDBless kernels
Pointed out by: John Hay <jhay@icomtek.csir.co.za>
This commit is contained in:
parent
e21a315ec5
commit
f4029c1446
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87649
@ -39,6 +39,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
@ -549,7 +551,11 @@ cnputc(int c)
|
||||
cn->cn_putc(cn->cn_dev, '\r');
|
||||
cn->cn_putc(cn->cn_dev, c);
|
||||
}
|
||||
#ifdef DDB
|
||||
if (console_pausing && !db_active && (c == '\n')) {
|
||||
#else
|
||||
if (console_pausing && (c == '\n')) {
|
||||
#endif
|
||||
for (cp = console_pausestr; *cp != '\0'; cp++)
|
||||
cnputc(*cp);
|
||||
if (cngetc() == '.')
|
||||
|
Loading…
Reference in New Issue
Block a user