summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-05 18:29:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-05 18:29:35 +0000
commit4b99eb2362b274db858a124e0abe1a86876d6e5f (patch)
tree1fb3357042c91022e4f683f4b4d9df7cc7e95d90 /sbin
parent53bec3d3cc1c79e4a1d9786c924ec0120fb1e5d1 (diff)
busted warnx; msaitoh@spa.is.uec.ac.jp
Diffstat (limited to 'sbin')
-rw-r--r--sbin/nfsd/nfsd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c
index ce104041444..c7608991255 100644
--- a/sbin/nfsd/nfsd.c
+++ b/sbin/nfsd/nfsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsd.c,v 1.8 1997/08/18 03:11:26 millert Exp $ */
+/* $OpenBSD: nfsd.c,v 1.9 1997/09/05 18:29:34 deraadt Exp $ */
/* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */
/*
@@ -172,7 +172,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;
@@ -214,7 +215,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;
}
}