diff options
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/kld/dyn_sysctl/dyn_sysctl.c | 2 | ||||
-rw-r--r-- | share/examples/kld/firmware/fwconsumer/fw_consumer.c | 2 |
2 files changed, 2 insertions, 2 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); |