diff options
author | jdp <jdp@FreeBSD.org> | 1997-11-18 03:22:08 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-11-18 03:22:08 +0000 |
commit | 92e669ae40b035c9fb2638711a8dc7d3ee85e666 (patch) | |
tree | 0a7d46b12b8139b4b746ff53dd4a87865cda5bcc /sbin/nfsiod/nfsiod.c | |
parent | fcde3651a779b8d8d5facb85942b51cc473e6454 (diff) | |
download | FreeBSD-src-92e669ae40b035c9fb2638711a8dc7d3ee85e666.zip FreeBSD-src-92e669ae40b035c9fb2638711a8dc7d3ee85e666.tar.gz |
Fix missing arguments detected by "-Wformat".
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-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; } } |