X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fxtab.c;h=510765a3f0d59b5517e06b0542f1eb8d0d702f03;hp=990113e14bf471da86269867a8b4b4ef4fb7528b;hb=4cacc965afc4fb03a465ffcc6cb3078aeadc3818;hpb=35001db4aaafa8a17e13b8c13cf74508d4a93f2f diff --git a/support/export/xtab.c b/support/export/xtab.c index 990113e..510765a 100644 --- a/support/export/xtab.c +++ b/support/export/xtab.c @@ -100,7 +100,7 @@ xtab_write(char *xtab, char *xtabtmp, int is_export) setexportent(xtabtmp, "w"); for (i = 0; i < MCL_MAXTYPES; i++) { - for (exp = exportlist[i]; exp; exp = exp->m_next) { + for (exp = exportlist[i].p_head; exp; exp = exp->m_next) { if (is_export && !exp->m_xtabent) continue; if (!is_export && ! exp->m_exported)