git: c2c7a43fb5cf - stable/13 - rpcgen: Unindent a line not guarded by if (mtflag).

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 03 May 2023 00:29:34 UTC
The branch stable/13 has been updated by jhb:

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

commit c2c7a43fb5cf6f1711a94ef9e928defe6075503a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-05 00:32:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:03:19 +0000

    rpcgen: Unindent a line not guarded by if (mtflag).
    
    mtflag is used to add pthread mutex locking around operations to make
    them thread-safe.  Setting the state to _SERVED is not conditional on
    locking.
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D37541
    
    (cherry picked from commit 4fa1e855be60f2c95005edb295fdc36cc163ff6b)
---
 usr.bin/rpcgen/rpc_svcout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c
index 3c6d0824f11a..06951940ff4e 100644
--- a/usr.bin/rpcgen/rpc_svcout.c
+++ b/usr.bin/rpcgen/rpc_svcout.c
@@ -619,7 +619,7 @@ print_return(const char *space)
 		if (timerflag) {
 			if (mtflag)
 				f_print(fout, "%spthread_mutex_lock(&_svcstate_lock);\n", space);
-				f_print(fout, "%s_rpcsvcstate = _SERVED;\n", space);
+			f_print(fout, "%s_rpcsvcstate = _SERVED;\n", space);
 			if (mtflag)
 				f_print(fout, "%spthread_mutex_unlock(&_svcstate_lock);\n", space);
 		}