]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
missed an assignment for hp->h_name to hname...
authorneilbrown <neilbrown>
Fri, 21 Sep 2001 00:53:25 +0000 (00:53 +0000)
committerneilbrown <neilbrown>
Fri, 21 Sep 2001 00:53:25 +0000 (00:53 +0000)
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);
        }