diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-05-02 17:38:08 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-05-02 17:38:08 +0000 |
| commit | 79f92e259757ac1b6882aa75ee8d8df3048ea01d (patch) | |
| tree | 7de79bbc75c79f3cee529ba38b1496c5726ee1ca /sbin/devd | |
| parent | eadb8f358b34aff77b1d23fef6b96748429a677f (diff) | |
Notes
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 22656045d72c2..2fa91321763d8 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"); |
