Date: Sat, 19 Aug 1995 23:10:50 +0800 (CST) From: Brian Tao <taob@gate.sinica.edu.tw> To: FREEBSD-BUGS-L <freebsd-bugs@freebsd.org> Subject: Nutty nfsd warning message Message-ID: <Pine.BSI.3.91.950819230057.17751f-100000@aries>
next in thread | raw e-mail | index | archive | help
For whatever reason today, I decided to type "nfsd -nut 4" to start up some more NFS server testing. I got this error: nfsd: nfsd count 4; reset to -272639580 The warnx() generating that message is missing an argument, so garbage is printed out for the second value: *** nfsd.c Sat Aug 19 23:08:43 1995 --- nfsd.c-orig Sat Aug 19 23:08:17 1995 *************** *** 182,188 **** case 'n': nfsdcnt = atoi(optarg); if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { ! warnx("nfsd count %d; reset to %d", nfsdcnt, DEFNFSDCNT); nfsdcnt = DEFNFSDCNT; } break; --- 182,188 ---- case 'n': nfsdcnt = atoi(optarg); if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { ! warnx("nfsd count %d; reset to %d", DEFNFSDCNT); nfsdcnt = DEFNFSDCNT; } break; -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.950819230057.17751f-100000>