X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fxtab.c;h=3ef36610357209f06e73e184cff3fc48e1d177dc;hp=4daef00e8be85ed0d613bee5849e6469614b90a5;hb=1898a9dc11a9834f557775a6b7d1ca7b1b6ca057;hpb=84efbd57c04964b0f7b6b65d9f83943baa14f22d 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;