summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/export/export.c')
-rw-r--r--support/export/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/export.c b/support/export/export.c
index 27d4440..cfb6681 100644
--- a/support/export/export.c
+++ b/support/export/export.c
@@ -131,7 +131,7 @@ export_add(nfs_export *exp)
xlog(L_FATAL, "unknown client type in export_add");
epp = exportlist + type;
- while (*epp && slen < strlen((*epp)->m_export.e_path))
+ while (*epp && slen <= strlen((*epp)->m_export.e_path))
epp = &((*epp)->m_next);
exp->m_next = *epp;
*epp = exp;