Author: pfg
Date: Tue Aug  9 19:20:53 2016
New Revision: 303889
URL: https://svnweb.freebsd.org/changeset/base/303889

Log:
  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

Modified:
  head/lib/libc/rpc/svc_vc.c

Modified: head/lib/libc/rpc/svc_vc.c
==============================================================================
--- head/lib/libc/rpc/svc_vc.c  Tue Aug  9 19:20:53 2016        (r303888)
+++ head/lib/libc/rpc/svc_vc.c  Tue Aug  9 19:20:53 2016        (r303889)
@@ -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;
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to