]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/exportfs/exportfs.c
missed an assignment for hp->h_name to hname...
[nfs-utils.git] / utils / exportfs / exportfs.c
index 4c04098e1579475a5f66b5314872db308c599f41..8bd0b44467d6ccf69066055a375a83387dc2d150 100644 (file)
@@ -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);
        }