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
This commit is contained in:
John Baldwin 2022-12-04 16:32:03 -08:00
parent f0b58b1901
commit 4fa1e855be

View File

@ -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);
}