summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfsmount.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2008-01-16 11:48:23 -0500
committerSteve Dickson <steved@redhat.com>2008-01-16 11:48:23 -0500
commit0f3172012919d36e2a7e5bf46c388f8c028fc93e (patch)
treec84f5257eccfbce6d151b585ed37cd9793dcd8b7 /utils/mount/nfsmount.c
parentec637de16210c1c6fcb3a0df34d7889592f577dc (diff)
downloadnfs-utils-0f3172012919d36e2a7e5bf46c388f8c028fc93e.tar.gz
nfs-utils-0f3172012919d36e2a7e5bf46c388f8c028fc93e.tar.xz
nfs-utils-0f3172012919d36e2a7e5bf46c388f8c028fc93e.zip
When mount.nfs reports that statd isn't running, it suggests using the "-o
nolocks" option, which doesn't exist. It should say "-o nolock". Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/nfsmount.c')
-rw-r--r--utils/mount/nfsmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c
index 23dd2f6..3d2ebb1 100644
--- a/utils/mount/nfsmount.c
+++ b/utils/mount/nfsmount.c
@@ -848,7 +848,7 @@ noauth_flavors:
if (!start_statd()) {
nfs_error(_("%s: rpc.statd is not running but is "
"required for remote locking.\n"
- " Either use '-o nolocks' to keep "
+ " Either use '-o nolock' to keep "
"locks local, or start statd."),
progname);
goto fail;