summaryrefslogtreecommitdiffstats
path: root/utils/mountd/v4root.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mountd/v4root.c')
-rw-r--r--utils/mountd/v4root.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/mountd/v4root.c b/utils/mountd/v4root.c
index 429ebb8..d521725 100644
--- a/utils/mountd/v4root.c
+++ b/utils/mountd/v4root.c
@@ -69,6 +69,9 @@ set_pseudofs_security(struct exportent *pseudo, int flags)
for (flav = flav_map; flav < flav_map + flav_map_size; flav++) {
struct sec_entry *new;
+ if (!flav->fnum)
+ continue;
+
i = secinfo_addflavor(flav, pseudo);
new = &pseudo->e_secinfo[i];