summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-10-12 01:31:02 +0000
committerkevlo <kevlo@FreeBSD.org>2012-10-12 01:31:02 +0000
commit8c77f1f6a83b7340e0d743ce920fd66ffca0a54c (patch)
treecbb6a592f9a9c37f45e00d2af6738bae6210ab81 /share
parent789936ed16160b255b39c7877ee634488b986154 (diff)
downloadFreeBSD-src-8c77f1f6a83b7340e0d743ce920fd66ffca0a54c.zip
FreeBSD-src-8c77f1f6a83b7340e0d743ce920fd66ffca0a54c.tar.gz
Since the moduledata structure member priv is a void pointer, using
NULL instead of 0 when dealing with pointers.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/module.92
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/module.9 b/share/man/man9/module.9
index 055dab9..bd072a9 100644
--- a/share/man/man9/module.9
+++ b/share/man/man9/module.9
@@ -99,7 +99,7 @@ static int foo_handler(module_t mod, int /*modeventtype_t*/ what,
static moduledata_t mod_data= {
"foo",
foo_handler,
- 0
+ NULL
};
MODULE_VERSION(foo, 1);
OpenPOWER on IntegriCloud