summaryrefslogtreecommitdiffstats
path: root/utils/exportfs
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2001-09-21 00:53:25 +0000
committerneilbrown <neilbrown>2001-09-21 00:53:25 +0000
commite997b2a740a77b3aed7fbf1c5d84b23c037b3430 (patch)
treeea45c7bdb53df5dadb2f4f0bb37a030265febbc8 /utils/exportfs
parent37e49789ab1cd849def25ba4c4d97ccdb11d1e61 (diff)
downloadnfs-utils-e997b2a740a77b3aed7fbf1c5d84b23c037b3430.tar.gz
nfs-utils-e997b2a740a77b3aed7fbf1c5d84b23c037b3430.tar.xz
nfs-utils-e997b2a740a77b3aed7fbf1c5d84b23c037b3430.zip
missed an assignment for hp->h_name to hname...
Diffstat (limited to 'utils/exportfs')
-rw-r--r--utils/exportfs/exportfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 4c04098..8bd0b44 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -206,6 +206,7 @@ exportfs(char *arg, char *options, int verbose)
} else
hp = hp2;
exp = export_find(hp, path);
+ hname = hp->h_name;
} else {
exp = export_lookup(hname, path, 0);
}