summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/examples/kld/dyn_sysctl/dyn_sysctl.c2
-rw-r--r--share/examples/kld/firmware/fwconsumer/fw_consumer.c2
-rw-r--r--share/man/man9/module.92
3 files changed, 3 insertions, 3 deletions
diff --git a/share/examples/kld/dyn_sysctl/dyn_sysctl.c b/share/examples/kld/dyn_sysctl/dyn_sysctl.c
index 684f58d..743f34b 100644
--- a/share/examples/kld/dyn_sysctl/dyn_sysctl.c
+++ b/share/examples/kld/dyn_sysctl/dyn_sysctl.c
@@ -163,7 +163,7 @@ load(module_t mod, int cmd, void *arg)
static moduledata_t mod_data = {
"dyn_sysctl",
load,
- 0
+ NULL
};
DECLARE_MODULE(dyn_sysctl, mod_data, SI_SUB_EXEC, SI_ORDER_ANY);
diff --git a/share/examples/kld/firmware/fwconsumer/fw_consumer.c b/share/examples/kld/firmware/fwconsumer/fw_consumer.c
index 6a51737..421dcc6 100644
--- a/share/examples/kld/firmware/fwconsumer/fw_consumer.c
+++ b/share/examples/kld/firmware/fwconsumer/fw_consumer.c
@@ -71,7 +71,7 @@ fw_consumer_modevent(module_t mod, int type, void *unused)
static moduledata_t fw_consumer_mod = {
"fw_consumer",
fw_consumer_modevent,
- 0
+ NULL
};
DECLARE_MODULE(fw_consumer, fw_consumer_mod, SI_SUB_DRIVERS, SI_ORDER_ANY);
MODULE_VERSION(fw_consumer, 1);
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