From nobody Sun Nov 03 20:20:26 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 4XhQvb1lqZz5clLy; Sun, 03 Nov 2024 20:20:27 +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 4XhQvb15XDz54nD; Sun, 3 Nov 2024 20:20:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730665227; 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=mHbkMKUK1M0qqlmS/U0lc10yR6FweTI3vafV6Z7HYgw=; b=D9kR5JfNPoEGjkR27RuYD7h4/hU/oGW5hqTfhhFksmqg1q8cmu3WnJiUF/WNcfZL1fa12c 65FmDtcRN5rUi+OOXFWh52P1Ygt6wrvNZq0/hpQzOXZGTmOiSe0tjwHehrh3Z9av6J+7mR T/Tn+OzOMr1ynZD5L1VIrEXyfO60xtS9nbGxqkCov42yr4pmvU/Jsp4jVau36uL6yzHlgD evYavtJhpdPfRHTVscy4D+gJxV2Vm4Vn3e2WF18dJJx1SvUl3TY4zvG95xUpfrnUKWb9Rr iukQrTPLfCb9+8RYqz1yVVjm11dGAbimcTpw6g/yGt+OlWTvUSUvirTT5IaJCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730665227; 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=mHbkMKUK1M0qqlmS/U0lc10yR6FweTI3vafV6Z7HYgw=; b=xbKkkBfY6ougkbJKu3DVE3WC7d/biOUj1F09vik0b+Zslkwj5OaiCiGVKjIeBeDUHNxwgC zPSRp7KpqPBe8FQ2zgxSymOV4pInnEPoY7naNCL7FknDOJCp6v+CRDtsnBH+AI0p5Ms2ou OAWI8e3CzyKpKHfFYaUefAQyilX+3OD4370aMF28NYX2RpCl0/ZRx0q9Qe7TZKYfPri2W3 sTURG0/YWTAu16e6SCxzncuFlrDtYbm/TR88HP890Cpg3PF7iqKwVxeKnV6d2JR+zH5L05 xSXgrANVYlra8+Y3JHE7D5Ro+8N/QYSrejSQyP8g9vK16I0pd6pC3gjWrXGYCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730665227; a=rsa-sha256; cv=none; b=VxFF6w+4BUSX3cDjulSvqFn1a+kHyop/CaWyrXQIULB4FYXwbTk7HL8OkxjeFCubllhv3S CgYKD5pPUa6Z5pTOa7+OhOb8cXIDGdVLcwSSmIcvcQN/+7R/SLufp77wufQvaSxBQfOqUg YubXt39+oxTaST2v2uuE1YcfqJUdocyPpZdWnVrvARC6VCjXUd/80ara37hVLSzrPM6OkD OgPV1F4FJIxAACs4qKCkNGD1EJEAo10eXpRe5ZG6XoGTPx1HLNXZ1yy7WsqUK8xz2RsdR6 KmmQxRHL8aHwLqmhkjaXb/duf9K2bNHnoLFJyFcmqfmF58/hK3TRZqdpze50Jw== 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 4XhQvb0hNcz133F; Sun, 3 Nov 2024 20:20:27 +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 4A3KKQcW094705; Sun, 3 Nov 2024 20:20:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3KKQQr094702; Sun, 3 Nov 2024 20:20:26 GMT (envelope-from git) Date: Sun, 3 Nov 2024 20:20:26 GMT Message-Id: <202411032020.4A3KKQQr094702@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 75d11bfbc6d4 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 75d11bfbc6d4289e4b3d91414e46a3af51f4402a Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=75d11bfbc6d4289e4b3d91414e46a3af51f4402a commit 75d11bfbc6d4289e4b3d91414e46a3af51f4402a Author: Ed Maste AuthorDate: 2024-11-03 20:04:08 +0000 Commit: Ed Maste CommitDate: 2024-11-03 20:18:39 +0000 dconschat: Increase WARNS to 2 Follow the existing pattern of fflush() in verbose mode. PR: 71665 Sponsored by: The FreeBSD Foundation --- 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 70f59d7a5d34..c57522c57119 100644 --- a/usr.sbin/dconschat/Makefile +++ b/usr.sbin/dconschat/Makefile @@ -5,6 +5,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: