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:
Ed Maste 2024-11-03 15:04:08 -05:00
parent 43bfb4e714
commit 75d11bfbc6
2 changed files with 5 additions and 3 deletions

View file

@ -5,6 +5,6 @@ CFLAGS+= -I${SRCTOP}/sys
LIBADD= kvm
WARNS?= 1
WARNS?= 2
.include <bsd.prog.mk>

View file

@ -519,8 +519,10 @@ ok:
rlen = len;
#if 1
if (verbose == 1)
printf("[%d]", rlen); fflush(stdout);
if (verbose == 1) {
printf("[%d]", rlen);
fflush(stdout);
}
#endif
again: