summaryrefslogtreecommitdiffstats
path: root/support/export
diff options
context:
space:
mode:
Diffstat (limited to 'support/export')
-rw-r--r--support/export/export.c2
-rw-r--r--support/export/xtab.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/export/export.c b/support/export/export.c
index f95e729..ba0d095 100644
--- a/support/export/export.c
+++ b/support/export/export.c
@@ -32,7 +32,7 @@ export_read(char *fname)
nfs_export *exp;
setexportent(fname, "r");
- while ((eep = getexportent(0)) != NULL) {
+ while ((eep = getexportent(0,1)) != NULL) {
exp = export_lookup(eep->e_hostname, eep->e_path, 0);
if (!exp)
export_create(eep,0);
diff --git a/support/export/xtab.c b/support/export/xtab.c
index 4daef00..3ef3661 100644
--- a/support/export/xtab.c
+++ b/support/export/xtab.c
@@ -32,7 +32,7 @@ xtab_read(char *xtab, int is_export)
if ((lockid = xflock(xtab, "r")) < 0)
return 0;
setexportent(xtab, "r");
- while ((xp = getexportent(is_export==0)) != NULL) {
+ while ((xp = getexportent(is_export==0, 0)) != NULL) {
if (!(exp = export_lookup(xp->e_hostname, xp->e_path, is_export != 1)) &&
!(exp = export_create(xp, is_export!=1))) {
continue;