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 4c04098..8bd0b44 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);
        }