dconschat: Increase WARNS to 2
Follow the existing pattern of fflush() in verbose mode. PR: 71665 Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -5,6 +5,6 @@ CFLAGS+= -I${SRCTOP}/sys
|
||||
|
||||
LIBADD= kvm
|
||||
|
||||
WARNS?= 1
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
@@ -519,8 +519,10 @@ dconschat_read_dcons(struct dcons_state *dc, int port, char *buf, int len)
|
||||
rlen = len;
|
||||
|
||||
#if 1
|
||||
if (verbose == 1)
|
||||
printf("[%d]", rlen); fflush(stdout);
|
||||
if (verbose == 1) {
|
||||
printf("[%d]", rlen);
|
||||
fflush(stdout);
|
||||
}
|
||||
#endif
|
||||
|
||||
again:
|
||||
|
||||
Reference in New Issue
Block a user