projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b587496
)
Fixed a segfault in the mount.nfs command
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Mon, 10 Mar 2008 19:20:36 +0000
(15:20 -0400)
committer
Steve Dickson
<steved@redhat.com>
Mon, 10 Mar 2008 19:20:36 +0000
(15:20 -0400)
Signed-off-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/nfsmount.c
patch
|
blob
|
history
diff --git
a/utils/mount/nfsmount.c
b/utils/mount/nfsmount.c
index
3d2ebb1
..
f2e0e00
100644
(file)
--- a/
utils/mount/nfsmount.c
+++ b/
utils/mount/nfsmount.c
@@
-714,7
+714,7
@@
nfsmount(const char *spec, const char *node, int flags,
rpc_mount_errors(*nfs_server.hostname, 1, bg);
}
- if (
nfs_pmap->pm_vers =
= 2) {
+ if (
mnt_pmap->pm_vers <
= 2) {
if (mntres.nfsv2.fhs_status != 0) {
nfs_error(_("%s: %s:%s failed, reason given by server: %s"),
progname, hostname, dirname,