git: c2db3a0c7d31 - main - rc.subr(8): fix debugging message after previous commit

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Sun, 02 Jun 2024 19:42:31 UTC
The branch main has been updated by eugen:

URL: https://cgit.FreeBSD.org/src/commit/?id=c2db3a0c7d31116028b38b426a9b139d26cbc7e5

commit c2db3a0c7d31116028b38b426a9b139d26cbc7e5
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2024-06-02 19:41:10 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2024-06-02 19:41:10 +0000

    rc.subr(8): fix debugging message after previous commit
    
    Fixes:          32a579e4fc69a65e8901111ad5f65ec56a97dfab
---
 libexec/rc/rc.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
index 9eead30790e2..2380d1aeabc3 100644
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -1658,7 +1658,7 @@ _run_rc_offcmd()
 		if [ -n "$_env" ]; then
 			eval "export -- $_env"
 		fi
-		debug "run_rc_command: ${rc_arg}_offcmd: $_offcmd $rc_extra_args"
+		debug "run_rc_command: ${name}_offcmd: $_offcmd $rc_extra_args"
 		eval "$_offcmd $rc_extra_args"
 		_return=$?
 	fi