svn commit: r241471 - head/share/man/man9

Kevin Lo kevlo at FreeBSD.org
Fri Oct 12 01:31:03 UTC 2012


Author: kevlo
Date: Fri Oct 12 01:31:02 2012
New Revision: 241471
URL: http://svn.freebsd.org/changeset/base/241471

Log:
  Since the moduledata structure member priv is a void pointer, using
  NULL instead of 0 when dealing with pointers.

Modified:
  head/share/man/man9/module.9

Modified: head/share/man/man9/module.9
==============================================================================
--- head/share/man/man9/module.9	Thu Oct 11 23:41:18 2012	(r241470)
+++ head/share/man/man9/module.9	Fri Oct 12 01:31:02 2012	(r241471)
@@ -99,7 +99,7 @@ static int foo_handler(module_t mod, int
 static moduledata_t mod_data= {
         "foo",
         foo_handler,
-        0
+	NULL
 };
 
 MODULE_VERSION(foo, 1);


More information about the svn-src-head mailing list