diff options
author | jdp <jdp@FreeBSD.org> | 1997-11-18 03:14:53 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-11-18 03:14:53 +0000 |
commit | fcde3651a779b8d8d5facb85942b51cc473e6454 (patch) | |
tree | 804f0f7e46494397527b90cc7da4d417018a01ba /sbin | |
parent | 7bfd07097ddc1bb48076859805aaa4891d8e16f9 (diff) | |
download | FreeBSD-src-fcde3651a779b8d8d5facb85942b51cc473e6454.zip FreeBSD-src-fcde3651a779b8d8d5facb85942b51cc473e6454.tar.gz |
Fix two missing arguments detected by "-Wformat".
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/nfsd/nfsd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c index 399b12e..86ac6a8 100644 --- a/sbin/nfsd/nfsd.c +++ b/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; } } |