summaryrefslogtreecommitdiffstats
path: root/COPYRIGHT
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-07-22 00:45:29 +0000
committeriedowse <iedowse@FreeBSD.org>2001-07-22 00:45:29 +0000
commit62f1c968bd6708a9d278f1372b42d4497e074882 (patch)
tree64f77f38db3ad0b76bc92fa285753e2e6d30a99f /COPYRIGHT
parentcc40e9cd2eb43ea484099541fd8a313f6b0244ff (diff)
downloadFreeBSD-src-62f1c968bd6708a9d278f1372b42d4497e074882.zip
FreeBSD-src-62f1c968bd6708a9d278f1372b42d4497e074882.tar.gz
Include the remote hostname in RPC-related warning messages. Exit
immediately if a host specified by the -h flag cannot be parsed instead of attempting to unmount all NFS filesystems, which was bad. Add a missing return statement at the end of checkname(); this could result in a non-zero exit status in some cases even if the unmount succeeded. Group two separate NFS-related operations into one block to make it more obvious that a variable (hostp) is not dereferenced when uninitialised. Initialise it to NULL anyway to avoid a warning. Pass in the read_mtab()'s bogus argument as NULL instead of messing with a local variable to achieve the same effect. A later commit will clean up this mounttab interface.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud