From nobody Sun Mar 20 16:33:48 2022 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 8BFFF1A31007; Sun, 20 Mar 2022 16:33:48 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KM3Gh3VpZz3rtb; Sun, 20 Mar 2022 16:33:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647794028; 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=l2Z0TW6071NwRAlCYZu4jcH817jivF7F6hCp8HUC4mk=; b=ZFaVy0Q36gLTLK/rkYDivvKhb2pQkNSuTfHF6I6Po4h2z2vMPcyTzVGvfF64FLhoq0LAGN I36UFIr6yjSyBo99h6OoHT6+CrQjKKbAohwo4hv7BP8RannfbzcMUEm/yPdSyInJpud644 LvDEW3qx5HRERBm58POf5ZAtr5R3VL7OhVHqYpX4Aj6xRnGNYhs15ya78ESkV7l19tTkQT cUBVuSbIfAyeBblZ9ngFD28A6xCb6iHnRp44egROQNlYjqI/bNzypFUgWHoRe69MZIc0BR ap/YFRvMYi8m0GKTKlkpgaWAu2bsa5yArivcKKFd1M4o2NZThos/FEw/zX2ZXg== 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 5863D2999; Sun, 20 Mar 2022 16:33:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22KGXmke034788; Sun, 20 Mar 2022 16:33:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22KGXmaZ034787; Sun, 20 Mar 2022 16:33:48 GMT (envelope-from git) Date: Sun, 20 Mar 2022 16:33:48 GMT Message-Id: <202203201633.22KGXmaZ034787@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 60bdfe986968 - main - mixer(8): Remove [.volume] string from default printout. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 60bdfe986968a583fd26fee107b922bad4b57031 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647794028; 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=l2Z0TW6071NwRAlCYZu4jcH817jivF7F6hCp8HUC4mk=; b=wa4gLRQ/XUeHy3awDbUZ2ZW6a+QIGNkltMlwkUe3ZpvIyxiT+6nheMnahfCVpineA1SQ+p bdySYZa4LL3y6itP4hscic7A1/sONVpnrHxwOTieEbeVHUtExkuZcybvTX1StiDlmWp7qW kaCcFWYYoRRkxxCBBlzwMjuc9JOI+LuxHjuwH0cC0C+esvAzqPRYJ+hjz/OT1AirH4CJ7J ZCRW+YJ8IBXvLsIfyigI3NnplyHIWtH/9bytK/BUvQFJfzP1+6oOhp4IR9tQ7pfhamfjLi 4LrUMD73kwiC4WWLhP6eY1jrwLmgqk6SeG69LaUTEd0wCs9mCuCbh4e4kKQHlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647794028; a=rsa-sha256; cv=none; b=dObswe/V0iOSOmVOeGVVdf3XDFxGb2GfRMSa71SBTzWIa4wDXQHN5f8kGP0wDAXqb81o7H qbZzbawD9MJSr/y9R7Nh3Uvu2I4UriWgkAyJf+bVyIi3NJqkLOtztdc5phZVFNFErqo74a AbR1X+h+EOadVskqJvlRRB0pr6kQF5FmVvgDkKa0IAiUE3tVHlg159pLKhRS96VeGF8uGH FTmcWr8MehUGtwxZvms3mTCPJXll5yaxX23ol23oBgkNV8gSEwX7Nh0py2++1ipuWdnqHW QW5Wn+Cs6d/hjy8N6lNycA+lapQphA99F4mPnq7LGlBMImCXrY/Ep7Y09dc+SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=60bdfe986968a583fd26fee107b922bad4b57031 commit 60bdfe986968a583fd26fee107b922bad4b57031 Author: Hans Petter Selasky AuthorDate: 2022-03-20 16:23:37 +0000 Commit: Hans Petter Selasky CommitDate: 2022-03-20 16:32:43 +0000 mixer(8): Remove [.volume] string from default printout. Submitted by: christos@ Differential Revision: https://reviews.freebsd.org/D34591 Sponsored by: NVIDIA Networking --- usr.sbin/mixer/mixer.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index b95b7502f3f4..a6f48f85ae43 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -249,12 +249,8 @@ printdev(struct mixer *m, int oflag) mix_ctl_t *cp; if (!oflag) { - char buffer[32]; - (void)snprintf(buffer, sizeof(buffer), - "%s.%s", d->name, "volume"); - - printf(" %-16s= %.2f:%.2f\t", - buffer, d->vol.left, d->vol.right); + printf(" %-10s= %.2f:%.2f ", + d->name, d->vol.left, d->vol.right); if (!MIX_ISREC(m, d->devno)) printf(" pbk"); if (MIX_ISREC(m, d->devno))