diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-26 16:06:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-26 16:06:43 +0000 |
commit | 739f9327fec040ddd56fdfb20ebd3e3ac01bf49c (patch) | |
tree | ae27bc65ab8ab749ca8171c65851a75ca18e4978 /sbin/nfsiod/nfsiod.c | |
parent | 1054804c8d3d0035c9660060e7c515de779cbded (diff) |
add missing parameter to warnx(); noticed by wvdputte@reptile.rug.ac.be
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-rw-r--r-- | sbin/nfsiod/nfsiod.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c index f3d4d7bb692..9e5363ad49c 100644 --- a/sbin/nfsiod/nfsiod.c +++ b/sbin/nfsiod/nfsiod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsiod.c,v 1.5 1997/08/04 19:25:22 deraadt Exp $ */ +/* $OpenBSD: nfsiod.c,v 1.6 1999/02/26 16:06:42 millert Exp $ */ /* $NetBSD: nfsiod.c,v 1.12 1996/02/20 16:06:55 fvdl Exp $ */ /* @@ -103,7 +103,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; @@ -123,7 +123,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; } } |