diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mdconfig/mdconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c index a730332..a1c125ec 100644 --- a/sbin/mdconfig/mdconfig.c +++ b/sbin/mdconfig/mdconfig.c @@ -213,7 +213,7 @@ list(const int fd) err(1, "sysctlbyname: kern.disks"); if ( (disklist = malloc(dll)) == NULL) err(1, "malloc"); - if (sysctlbyname("kern.disks", disklist, &dll, NULL, NULL) == -1) + if (sysctlbyname("kern.disks", disklist, &dll, NULL, 0) == -1) err(1, "sysctlbyname: kern.disks"); for (p = disklist; |