diff options
Diffstat (limited to 'sbin/nfsiod')
-rw-r--r-- | sbin/nfsiod/nfsiod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c index e2479fe..6ddb42a 100644 --- a/sbin/nfsiod/nfsiod.c +++ b/sbin/nfsiod/nfsiod.c @@ -108,7 +108,7 @@ main(argc, argv) num_servers = atoi(optarg); if (num_servers < 1 || num_servers > MAXNFSDCNT) { warnx("nfsiod count %d; reset to %d", - DEFNFSDCNT); + num_servers, DEFNFSDCNT); num_servers = DEFNFSDCNT; } break; @@ -128,7 +128,8 @@ main(argc, argv) if (argc == 1) { num_servers = atoi(argv[0]); if (num_servers < 1 || num_servers > MAXNFSDCNT) { - warnx("nfsiod count %d; reset to %d", DEFNFSDCNT); + warnx("nfsiod count %d; reset to %d", num_servers, + DEFNFSDCNT); num_servers = DEFNFSDCNT; } } |