svn commit: r301482 - head/usr.sbin/bluetooth/btpand

Marcelo Araujo araujo at FreeBSD.org
Mon Jun 6 04:18:58 UTC 2016


Author: araujo
Date: Mon Jun  6 04:18:56 2016
New Revision: 301482
URL: https://svnweb.freebsd.org/changeset/base/301482

Log:
  For pointers use NULL instead of 0.

Modified:
  head/usr.sbin/bluetooth/btpand/btpand.c

Modified: head/usr.sbin/bluetooth/btpand/btpand.c
==============================================================================
--- head/usr.sbin/bluetooth/btpand/btpand.c	Mon Jun  6 04:13:49 2016	(r301481)
+++ head/usr.sbin/bluetooth/btpand/btpand.c	Mon Jun  6 04:18:56 2016	(r301482)
@@ -171,7 +171,7 @@ main(int argc, char *argv[])
 		usage();
 
 	if (!bdaddr_any(&remote_bdaddr) && (server_limit != 0 ||
-	    control_path != 0 || (service_name != NULL && l2cap_psm != 0)))
+	    control_path != NULL || (service_name != NULL && l2cap_psm != 0)))
 		usage();
 
 	/* default options */


More information about the svn-src-head mailing list