Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 01:31:03 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241471 - head/share/man/man9
Message-ID:  <201210120131.q9C1V3jM018799@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210120131.q9C1V3jM018799>