summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpnam.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-11-15 01:39:02 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-11-15 01:39:02 +0000
commitc0dd2f4140acc8af8139c433025b5ac3ae96fe05 (patch)
tree8b299205bba5cd5746215b9ae88c85cfb64f58f5 /lib/libc/stdio/tmpnam.c
parentc30b2078e1481172495244740df1cbc2657c7dac (diff)
downloadFreeBSD-src-c0dd2f4140acc8af8139c433025b5ac3ae96fe05.zip
FreeBSD-src-c0dd2f4140acc8af8139c433025b5ac3ae96fe05.tar.gz
Move the setting of the default value for nm_wcommitsize to
before the nfs_decode_args() call in the new NFS client, so that a specfied command line value won't be overwritten. Also, modify the calculation for small values of desiredvnodes to avoid an unusually large value or a divide by zero crash. It seems that the default value for nm_wcommitsize is very conservative and may need to change at some time. PR: kern/159351 Submitted by: onwahe at gmail.com (earlier version) Reviewed by: jhb MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud