diff options
Diffstat (limited to 'sbin/devd')
-rw-r--r-- | sbin/devd/devd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index 2265604..2fa9132 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -708,7 +708,7 @@ check_devd_enabled() size_t len; len = sizeof(val); - if (sysctlbyname(SYSCTL, &val, &len, NULL, NULL) != 0) + if (sysctlbyname(SYSCTL, &val, &len, NULL, 0) != 0) errx(1, "devctl sysctl missing from kernel!"); if (val) { warnx("Setting " SYSCTL " to 0"); |