dconschat: Increase WARNS to 2
Follow the existing pattern of fflush() in verbose mode.
PR: 71665
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 75d11bfbc6)
This commit is contained in:
parent
93a321b607
commit
e59630a3dd
2 changed files with 5 additions and 3 deletions
|
|
@ -6,6 +6,6 @@ CFLAGS+= -I${SRCTOP}/sys
|
|||
|
||||
LIBADD= kvm
|
||||
|
||||
WARNS?= 1
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue