From nobody Sun Jan 02 11:44:57 2022 X-Original-To: dev-commits-src-main@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 DA385193759E; Sun, 2 Jan 2022 11:44:57 +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 4JRcVx4CyZz4Zf3; Sun, 2 Jan 2022 11:44:57 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 707FB11A10; Sun, 2 Jan 2022 11:44:57 +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 202Bivp2070767; Sun, 2 Jan 2022 11:44:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 202Biv4T070766; Sun, 2 Jan 2022 11:44:57 GMT (envelope-from git) Date: Sun, 2 Jan 2022 11:44:57 GMT Message-Id: <202201021144.202Biv4T070766@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Poul-Henning Kamp Subject: git: 79f38143bda7 - main - sesutil: Widen "Desc" field to fit "Drive Slot 23" List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: phk X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79f38143bda7c41a45e2102df84870026e9ccf43 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641123897; 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=UCTFuJ1kpaAf1G2WNl5w9zDMkWejn77Ul5n4YkW0Trc=; b=pIxwAj4GEAhgNF84bliPN3+XWi3MiuiKmfRtlj3a4Rnw0ndDrQDnfVuvMqjNUnMukjElxH dOIhDawYFY1l8n9vRhUhwh/EVo7EaFhFx6o2OLjEwR4VtqsgOQmvKPjCD2Q7N15GsoAdNN Xd9ghzxmhGtxP7rRVqmD1s1rrq26Rv3yY8ifX7aIGP10Qju0utzpcE2NwnFdgbk42Nomho j0Gs0a9Pl2+1HT4tt0nYab0RjHsI935Jvaw6nN1432PpIzCyvXLK4rMrxkggBkwQRBvDFd 9NixWPtbh+CxrwU+Ll7kicFijesGZbSvvg8tICgfEKirZ2nxsupRnI3U4WTZdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641123897; a=rsa-sha256; cv=none; b=F8VPgAVyEIoGMgymgWEFJpQihjae9xBEqnKp6OPedDhNa4hckdv/J4f+mzZm04ewOHky6p S2R3mKc9WBvoTAqSISWZj05Va/TC2dVQMpURwDifmpaehYspwVLs7HEd/aeAFO3ApnqD3Y Zw2K3etpX0KOGNJimZcOcHPpPkUxpb61zIMd/wL7xHr4im3BIwGzOXv2exuEwH2Rm+Gs0s Wv1gKYALl85jHvXi+5ScDMwa93lgvXfAyl6t8IqYJfJNBPgEx7uCV4Y05G5mF9TIt282Ah 1Rs5rCZJURqGBFLW/jUZMj829oXFV1ABuRuVkTXky5y2oK4SoE5HCWICvFAMVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=79f38143bda7c41a45e2102df84870026e9ccf43 commit 79f38143bda7c41a45e2102df84870026e9ccf43 Author: Poul-Henning Kamp AuthorDate: 2022-01-02 11:44:02 +0000 Commit: Poul-Henning Kamp CommitDate: 2022-01-02 11:44:02 +0000 sesutil: Widen "Desc" field to fit "Drive Slot 23" --- usr.sbin/sesutil/sesutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/sesutil/sesutil.c b/usr.sbin/sesutil/sesutil.c index b83230c2ddb2..9e6098e1da35 100644 --- a/usr.sbin/sesutil/sesutil.c +++ b/usr.sbin/sesutil/sesutil.c @@ -642,8 +642,8 @@ show_device(int fd, int elm_idx, encioc_elm_status_t e_status, encioc_elm_desc_t } xo_open_instance("elements"); xo_emit("{e:type/device_slot}"); - xo_emit("{d:description/%-8s} ", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : "-"); - xo_emit("{e:description/%-8s}", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : ""); + xo_emit("{d:description/%-15s} ", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : "-"); + xo_emit("{e:description/%-15s}", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : ""); xo_emit("{d:device_names/%-7s} ", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : "-"); xo_emit("{e:device_names/%s}", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : ""); xo_emit("{d:model/%-25s} ", model ? model : "-"); @@ -824,7 +824,7 @@ show(int argc, char **argv __unused) case ELMTYP_DEVICE: case ELMTYP_ARRAY_DEV: if (e_ptr[j].elm_type != prev_type) - xo_emit("Desc Dev Model Ident Size/Status\n"); + xo_emit("Desc Dev Model Ident Size/Status\n"); show_device(fd, e_ptr[j].elm_idx, e_status, e_desc); prev_type = e_ptr[j].elm_type;