summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-11-08 10:33:41 +0000
committeralfred <alfred@FreeBSD.org>2001-11-08 10:33:41 +0000
commit5464293209d73e334e870a1872c371c7f8a7090e (patch)
treeb88fbf234d8cbce56e4cb7ab8c6774f04823313f /usr.sbin/rpc.lockd
parentd08d3afdaa960644d8f0320d87bc89c1827f9276 (diff)
downloadFreeBSD-src-5464293209d73e334e870a1872c371c7f8a7090e.zip
FreeBSD-src-5464293209d73e334e870a1872c371c7f8a7090e.tar.gz
style fixes, fix line wrap and function declaration
Diffstat (limited to 'usr.sbin/rpc.lockd')
-rw-r--r--usr.sbin/rpc.lockd/kern.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/rpc.lockd/kern.c b/usr.sbin/rpc.lockd/kern.c
index 36235f2..e6fc860 100644
--- a/usr.sbin/rpc.lockd/kern.c
+++ b/usr.sbin/rpc.lockd/kern.c
@@ -220,10 +220,9 @@ err:
}
void
-set_auth(
- CLIENT *cl,
- struct ucred *ucred
-)
+set_auth(cl, ucred)
+ CLIENT *cl;
+ struct ucred *ucred;
{
if (cl->cl_auth != NULL)
cl->cl_auth->ah_ops->ah_destroy(cl->cl_auth);
@@ -449,8 +448,8 @@ lock_answer(int pid, netobj *netcookie, int result, int *pid_p, int version)
ans.la_msg_ident.pid = pid;
ans.la_msg_ident.msg_seq = -1;
} else {
- memcpy(&ans.la_msg_ident, netcookie->n_bytes,
- sizeof(ans.la_msg_ident));
+ memcpy(&ans.la_msg_ident, netcookie->n_bytes,
+ sizeof(ans.la_msg_ident));
}
if (d_calls)
OpenPOWER on IntegriCloud