X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fexportfs%2Fexportfs.c;h=8bd0b44467d6ccf69066055a375a83387dc2d150;hp=4c04098e1579475a5f66b5314872db308c599f41;hb=e997b2a740a77b3aed7fbf1c5d84b23c037b3430;hpb=37e49789ab1cd849def25ba4c4d97ccdb11d1e61 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); }