SCCS-vsn: sbin/mountd/mountd.c 5.25
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)mountd.c 5.24 (Berkeley) %G%";
+static char sccsid[] = "@(#)mountd.c 5.25 (Berkeley) %G%";
#endif not lint
#include <pwd.h>
#endif not lint
#include <pwd.h>
struct grouplist *tgrp;
syslog(LOG_ERR, "Bad exports list line %s", line);
struct grouplist *tgrp;
syslog(LOG_ERR, "Bad exports list line %s", line);
- if (ep && ep->ex_next == (struct exportlist *)0)
+ if (ep && (ep->ex_flag & EX_LINKED) == 0)
free_exp(ep);
while (grp) {
tgrp = grp;
free_exp(ep);
while (grp) {
tgrp = grp;