nfsd.c (282272) | nfsd.c (298089) |
---|---|
1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 The Regents of the University of California. All rights reserved.\n"; 37#endif /* not lint */ 38 39#ifndef lint 40#if 0 41static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95"; 42#endif 43static const char rcsid[] = | 1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 The Regents of the University of California. All rights reserved.\n"; 37#endif /* not lint */ 38 39#ifndef lint 40#if 0 41static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95"; 42#endif 43static const char rcsid[] = |
44 "$FreeBSD: head/usr.sbin/nfsd/nfsd.c 282272 2015-04-30 12:55:27Z trasz $"; | 44 "$FreeBSD: head/usr.sbin/nfsd/nfsd.c 298089 2016-04-15 22:31:22Z pfg $"; |
45#endif /* not lint */ 46 47#include <sys/param.h> 48#include <sys/syslog.h> 49#include <sys/wait.h> 50#include <sys/mount.h> 51#include <sys/fcntl.h> 52#include <sys/linker.h> --- 156 unchanged lines hidden (view full) --- 209 minthreads = atoi(optarg); 210 } else if (!strcmp(lopt, "maxthreads")) { 211 maxthreads = atoi(optarg); 212 } 213 break; 214 default: 215 case '?': 216 usage(); | 45#endif /* not lint */ 46 47#include <sys/param.h> 48#include <sys/syslog.h> 49#include <sys/wait.h> 50#include <sys/mount.h> 51#include <sys/fcntl.h> 52#include <sys/linker.h> --- 156 unchanged lines hidden (view full) --- 209 minthreads = atoi(optarg); 210 } else if (!strcmp(lopt, "maxthreads")) { 211 maxthreads = atoi(optarg); 212 } 213 break; 214 default: 215 case '?': 216 usage(); |
217 }; | 217 } |
218 if (!tcpflag && !udpflag) 219 udpflag = 1; 220 argv += optind; 221 argc -= optind; 222 if (minthreads_set && maxthreads_set && minthreads > maxthreads) 223 errx(EX_USAGE, 224 "error: minthreads(%d) can't be greater than " 225 "maxthreads(%d)", minthreads, maxthreads); --- 861 unchanged lines hidden --- | 218 if (!tcpflag && !udpflag) 219 udpflag = 1; 220 argv += optind; 221 argc -= optind; 222 if (minthreads_set && maxthreads_set && minthreads > maxthreads) 223 errx(EX_USAGE, 224 "error: minthreads(%d) can't be greater than " 225 "maxthreads(%d)", minthreads, maxthreads); --- 861 unchanged lines hidden --- |