dconschat: Increase WARNS to 2
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, arm64, aarch64) (push) Waiting to run

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: