X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fexport.c;h=f95e729e63ee7eeb402bf0310e663716c9f1b973;hp=4cfb44810146aa4d74af12d60c4b3ceaf8ebc708;hb=0bd51f4c931eb68c355140c721763be64213a3ca;hpb=7ac2c918e16fd63aa81c3aeb0e4870cded076bba diff --git a/support/export/export.c b/support/export/export.c index 4cfb448..f95e729 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()) != NULL) { + while ((eep = getexportent(0)) != NULL) { exp = export_lookup(eep->e_hostname, eep->e_path, 0); if (!exp) export_create(eep,0);