diff options
author | brooks <brooks@FreeBSD.org> | 2005-04-07 20:37:04 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-04-07 20:37:04 +0000 |
commit | 948057b5032232b99c9cebe4de3ab58474de21e2 (patch) | |
tree | 3e6cbd6d8728d275238f7beb3075c9844c6b9326 /sbin/nfsiod | |
parent | 697ffbd79b10224f9edf487213e98c3ec02d78c8 (diff) | |
download | FreeBSD-src-948057b5032232b99c9cebe4de3ab58474de21e2.zip FreeBSD-src-948057b5032232b99c9cebe4de3ab58474de21e2.tar.gz |
When accessing the sysctl vfs.nfs.iodmax, don't report errors as being
from accessing vfs.nfs.iodmin.
Diffstat (limited to 'sbin/nfsiod')
-rw-r--r-- | sbin/nfsiod/nfsiod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c index 5f4ec57..31559cc 100644 --- a/sbin/nfsiod/nfsiod.c +++ b/sbin/nfsiod/nfsiod.c @@ -119,7 +119,7 @@ main(int argc, char *argv[]) len = sizeof iodmax; error = sysctlbyname("vfs.nfs.iodmax", &iodmax, &len, NULL, 0); if (error < 0) - err(1, "sysctlbyname(\"vfs.nfs.iodmin\")"); + err(1, "sysctlbyname(\"vfs.nfs.iodmax\")"); /* Catch the case where we're lowering num_servers below iodmin */ if (iodmin > num_servers) { iodmin = num_servers; |