summaryrefslogtreecommitdiffstats
path: root/support/export/xtab.c
diff options
context:
space:
mode:
authorhjl <hjl>2000-08-10 03:04:51 +0000
committerhjl <hjl>2000-08-10 03:04:51 +0000
commitda25e1aa006bafb4dd08e2ffedbd42d7c1f4036b (patch)
tree4dd677700c6773feea1f4e8e31ed9764f9c1f448 /support/export/xtab.c
parent9b2a1e5430e9bcca39eddc25464234fd95d50b83 (diff)
downloadnfs-utils-da25e1aa006bafb4dd08e2ffedbd42d7c1f4036b.tar.gz
nfs-utils-da25e1aa006bafb4dd08e2ffedbd42d7c1f4036b.tar.xz
nfs-utils-da25e1aa006bafb4dd08e2ffedbd42d7c1f4036b.zip
2000-08-09 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfs.init: Run /usr/sbin/exportfs first during startup to ensure all existing clients work fine. * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0 to xtab_read () for reading _PATH_XTAB.
Diffstat (limited to 'support/export/xtab.c')
-rw-r--r--support/export/xtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/xtab.c b/support/export/xtab.c
index 4289d7c..c8adc06 100644
--- a/support/export/xtab.c
+++ b/support/export/xtab.c
@@ -53,7 +53,7 @@ xtab_mount_read(void)
close(fd);
return xtab_read(_PATH_PROC_EXPORTS, 0);
} else
- return xtab_read(_PATH_XTAB, 0);
+ return xtab_read(_PATH_XTAB, 1);
}
int