diff options
Diffstat (limited to 'usr.sbin/nfsd/nfsd.c')
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c index 399b12e..86ac6a8 100644 --- a/usr.sbin/nfsd/nfsd.c +++ b/usr.sbin/nfsd/nfsd.c @@ -199,7 +199,8 @@ main(argc, argv, envp) case 'n': nfsdcnt = atoi(optarg); if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { - warnx("nfsd count %d; reset to %d", DEFNFSDCNT); + warnx("nfsd count %d; reset to %d", nfsdcnt, + DEFNFSDCNT); nfsdcnt = DEFNFSDCNT; } break; @@ -243,7 +244,8 @@ main(argc, argv, envp) if (argc == 1) { nfsdcnt = atoi(argv[0]); if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { - warnx("nfsd count %d; reset to %d", DEFNFSDCNT); + warnx("nfsd count %d; reset to %d", nfsdcnt, + DEFNFSDCNT); nfsdcnt = DEFNFSDCNT; } } |