libc/rpc: replace comma with semicolon when pertinent.

Uses of commas instead of a semicolons can easily go undetected. The comma
can serve as a statement separator but this shouldn't be abused when
statements are meant to be standalone.

Detected with devel/coccinelle following a hint from DragonFlyBSD.

MFC after:	1 month
This commit is contained in:
Pedro F. Giffuni 2016-08-09 19:20:53 +00:00
parent 75e2eb0501
commit 8e60fa95cb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303889

View File

@ -700,7 +700,7 @@ svc_vc_rendezvous_ops(SVCXPRT *xprt)
ops.xp_reply =
(bool_t (*)(SVCXPRT *, struct rpc_msg *))abort;
ops.xp_freeargs =
(bool_t (*)(SVCXPRT *, xdrproc_t, void *))abort,
(bool_t (*)(SVCXPRT *, xdrproc_t, void *))abort;
ops.xp_destroy = svc_vc_destroy;
ops2.xp_control = svc_vc_rendezvous_control;
}