From nobody Mon Nov 25 21:34:16 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XxzVc4hL8z5fDlk; Mon, 25 Nov 2024 21:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XxzVc2517z46X4; Mon, 25 Nov 2024 21:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732570456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M9UzVYgyQl9RqLYXf0qDjLwr9ToBP+QexELy72N4reI=; b=nlrd5tituNMmN1Yibpa9jlVSuw/Vwsdl0Zi9ZqGvwItVORaYzlDj5QmMJgoO9puORgRXwU F/08D5QN0+LyqQtRHgfSuUmQ4jc2DAa1TqUleersVCyxEM+5DgkNqJLvOifjbNp9pOFem0 xRyhMxSdIvHtlcNbMLZTxsecSMXb5oWWLCJx6YkfDQFWyXNplKPFIUP0p7KINEn5880IRV ukB3u5Vt8zCQ1pUyiV97jAZncywQpZ9L4z0eWXaooSygCf6+DAXg8PDbDIHCb0VXQGJLju fyJ/hngwH75Eer9p1lKWIWI3LTkWgvKcYUvTP3ucsdB4hh84ttzr5woSqPUDlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732570456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M9UzVYgyQl9RqLYXf0qDjLwr9ToBP+QexELy72N4reI=; b=LMwSE2YoIqjajHEAAtAqdNIhxnW/udehvB/ChBG7KNUo5YoAAFN8DWnwuQFfXailThq/fe 7KWj7SuAAwt8LW6eVzpQv4GCwNeXXHc3WGr24FM3uiCk/y8vFxO76QTJ/KAHnhZtb7nCnV QkzaN3IiGJE3Wj8tRakDk8GgMKx2xFphNiFl57i29TlvGLCZUtmC8Z32E1zqdeBjBw9ILN yB1Nxe+72qDZsjtEasei1vXdht8VyhUJH0kJg72pKiiDFI+Ig8FxgyXYc/zXJ/tbSJUwE3 JNrA46jFHt4lUDnkKVdqQWA8XvAecnCR/teIHMtakJhW6KvRNkiYxh43wCZ9Kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732570456; a=rsa-sha256; cv=none; b=hrott2u2PQHarukY6X5q+pyCydjB7ZTWHvgnBJk+52z3rwasIepzHfV7MoOSyZQPh6nqIp rWEatUz+/3pdCkKq/Z01jJqwhQ6PUy7dXNGtgyBAycbvyiJNVn4TbbAH3HZ9cHQCS371EU aPbf3e29qps72SdxHqviy0Omq7myJgXN8MFZ86Ikw0mxAC3pWzUMn1dQEVku/XPPRlviqM E/q8bAIZ7Zn5nNj3lp9xOfXdhOqRjEOxGfAwnFiRBrDjk4lM52AF2dZg+y96Gx+yQooK2S TpbsNZl/TT0Pdvxq+E77t+4hQ6yBsAcgFRUJ7M++bLgZ2n+FOwTmtOt5Zg4RnQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XxzVc1ZSrzwLg; Mon, 25 Nov 2024 21:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4APLYGrZ066066; Mon, 25 Nov 2024 21:34:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4APLYGXM066063; Mon, 25 Nov 2024 21:34:16 GMT (envelope-from git) Date: Mon, 25 Nov 2024 21:34:16 GMT Message-Id: <202411252134.4APLYGXM066063@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: e59630a3ddc0 - stable/14 - dconschat: Increase WARNS to 2 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e59630a3ddc0683df664459c59d633b881bd4b1d Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e59630a3ddc0683df664459c59d633b881bd4b1d commit e59630a3ddc0683df664459c59d633b881bd4b1d Author: Ed Maste AuthorDate: 2024-11-03 20:04:08 +0000 Commit: Ed Maste CommitDate: 2024-11-25 21:33:46 +0000 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 75d11bfbc6d4289e4b3d91414e46a3af51f4402a) --- usr.sbin/dconschat/Makefile | 2 +- usr.sbin/dconschat/dconschat.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/usr.sbin/dconschat/Makefile b/usr.sbin/dconschat/Makefile index f5f7795f284b..f0020c2f8475 100644 --- a/usr.sbin/dconschat/Makefile +++ b/usr.sbin/dconschat/Makefile @@ -6,6 +6,6 @@ CFLAGS+= -I${SRCTOP}/sys LIBADD= kvm -WARNS?= 1 +WARNS?= 2 .include diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c index 72d1aa276bd3..d18477c51522 100644 --- a/usr.sbin/dconschat/dconschat.c +++ b/usr.sbin/dconschat/dconschat.c @@ -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: