From 8c77f1f6a83b7340e0d743ce920fd66ffca0a54c Mon Sep 17 00:00:00 2001 From: kevlo Date: Fri, 12 Oct 2012 01:31:02 +0000 Subject: [PATCH] Since the moduledata structure member priv is a void pointer, using NULL instead of 0 when dealing with pointers. --- share/man/man9/module.9 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/man/man9/module.9 b/share/man/man9/module.9 index 055dab94d723..bd072a92dee9 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);