git: cdb3cda6fd53 - main - rc.d/kld: Avoid printing a trailing space
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Oct 2024 19:09:18 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=cdb3cda6fd53b89c2bba0308d21aa8edf782dc34
commit cdb3cda6fd53b89c2bba0308d21aa8edf782dc34
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-26 19:07:22 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-26 19:07:22 +0000
rc.d/kld: Avoid printing a trailing space
Fixes: 152382e6613d ("rc.d/kld: Print the kernel modules being loaded")
Reported by: jrtc27
---
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 729416323d6e..ac55c5cc97d8 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