From nobody Sat Nov 9 01:10:44 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 4Xld6D723pz5d3vD; Sat, 09 Nov 2024 01:10:44 +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 4Xld6D6Y9hz4gd7; Sat, 9 Nov 2024 01:10:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731114644; 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=0Svs6KX0E573uf6Rn3yGIurXiLPIQOPmg5AWoSLkAik=; b=VwQB5Ov1zAVpacOVBwC62NzJRg3tzIMXUHRO6mQ2oiRl/OEp6siHOOjPY+Sc75/DmcbKur eTxySPQZoIggOdBzyK2/vyLqR2mbXUTtJ6zOFxyDZ1Jhb/ifchMMpW2vMcazgOt2/VxuOA K2gZNc8l2g3ptX0V4QK6+6BtB/9McWagZ/lgLl8I3aHsZhzw/WDddVMxfbdq/QXdpVfM8z nbN+zOvGzlDJXg7fb/Rp798s6Sgx7WzDfbBYFLD0xRCXYyQM+LaDVf6CUnE9kK8PVHmMwP fEVZ+/PdAOuoMhFwSkCuXDUhVl7nee038SkJBIQ0Ifhmsrb8WZpsnqJ6f03Mmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731114644; 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=0Svs6KX0E573uf6Rn3yGIurXiLPIQOPmg5AWoSLkAik=; b=Vz32r4TOSjBEf0levdcmxWDT1R8JczQ7F6GjG+eagNC6uVLtv15mdwRXfzbSKZ7F/HGq/u 1mVljKui4zY9Skjz7KLTYE4rJKtBfKLm8VMWO/yo4OXOBircyNYpEutlz2JsT541gdSxwv hm9pkozinc0qvvOzRja8z/oEYMX/bJeWvgGJCrjRleXbcbrYHxAedf19E3s14TRKkWBzXX wa4Etex178hLPC6Qm4Fgcy1PKdfkhX3lTDsgZb7sjNWmYXLp/tPVH6EwWZIxDjk3Uc8WXJ 0phKa6xYbvuu5lFXSE18Mk31UHNTO+oYekY3emJ/0ZtIp1wR6uwfjNCsQQsZdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731114644; a=rsa-sha256; cv=none; b=HIk5gZFRSkBS1iatG0gbbXzcRMe8K8p7u5sWU+EK2D7F9etjmzHDwh0qsS5cXbfVnCQvXz ZOzCu2Zfc3YDPvqePivRuaJpBbdwBHNpIf+0sKCGEV6co4W8awaaQS99L9pctLcFcIcvBA Vzaye2zJPhhoIQmxU+FXgjvYkv2fwnOLQb3iCBruAKSNO7zbdMDqBxfy5GTFeb5AHbt2rv nz4Z89EKsSdOeofng0y9HAbFKPkwc/5G1uVEMCofvlxGnR86N29mZ3+BqLyDaKelkRiLBz 2FTuEyrEMiCdAmD7VSiqwQCLVaFT9iHhVEjaXC5Zqyv4KcZ4GdvCLDVTrnVeAw== 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 4Xld6D69H9zsSf; Sat, 9 Nov 2024 01:10:44 +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 4A91Airi007841; Sat, 9 Nov 2024 01:10:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A91AiKF007838; Sat, 9 Nov 2024 01:10:44 GMT (envelope-from git) Date: Sat, 9 Nov 2024 01:10:44 GMT Message-Id: <202411090110.4A91AiKF007838@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 2cb615d01514 - stable/14 - rc.d/kld: Avoid printing a trailing space 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 2cb615d01514835f8c9459a80d4ce4babce275cd Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2cb615d01514835f8c9459a80d4ce4babce275cd commit 2cb615d01514835f8c9459a80d4ce4babce275cd Author: Mark Johnston AuthorDate: 2024-10-26 19:07:22 +0000 Commit: Mark Johnston CommitDate: 2024-11-09 01:09:47 +0000 rc.d/kld: Avoid printing a trailing space Fixes: 152382e6613d ("rc.d/kld: Print the kernel modules being loaded") Reported by: jrtc27 (cherry picked from commit cdb3cda6fd53b89c2bba0308d21aa8edf782dc34) --- libexec/rc/rc.d/kld | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libexec/rc/rc.d/kld b/libexec/rc/rc.d/kld index 4cfc94cb07fc..81a751503e51 100755 --- a/libexec/rc/rc.d/kld +++ b/libexec/rc/rc.d/kld @@ -44,12 +44,11 @@ kld_start() local _kld - echo -n 'Loading kernel modules: ' + echo -n 'Loading kernel modules:' for _kld in $kld_list ; do load_kld -e ${_kld}.ko $_kld - echo -n "${_kld} " + echo -n " ${_kld}" done - echo } load_rc_config $name