X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Fexport%2Frmtab.c;h=3c55267a8e7cfa5653f0fbffa314fc43b88bba8f;hb=87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385;hp=4e141c3516a34efc6c0a47adc16810939b0cf3ae;hpb=70a0e44cc77a7d8fc78c5514889bcd5d4fde3599;p=nfs-utils.git diff --git a/support/export/rmtab.c b/support/export/rmtab.c index 4e141c3..3c55267 100644 --- a/support/export/rmtab.c +++ b/support/export/rmtab.c @@ -37,12 +37,12 @@ rmtab_read(void) /* see if the entry already exists, otherwise this was an instantiated * wild card, and we must add it */ - exp = export_lookup(rep->r_client, xp->e_path); + exp = export_lookup(rep->r_client, xp->e_path, 0); if (!exp) { strncpy (xp->e_hostname, rep->r_client, sizeof (xp->e_hostname) - 1); xp->e_hostname[sizeof (xp->e_hostname) -1] = '\0'; - exp = export_create(xp); + exp = export_create(xp, 0); } free (hp);