X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fexportfs%2Fexportfs.c;h=c3ba9970dd29bf7001eb5a4cb22bece67e1623e0;hb=4bcb2c85022812c36e6008d5d51466b4b0e61d86;hp=cd49a3b21f7f614c677440316586625e37b072d0;hpb=1408e610ac2db753543a546c4312b2eb6799f044;p=nfs-utils.git diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index cd49a3b..c3ba997 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -412,9 +412,9 @@ dump(int verbose) c = dumpopt(c, "mapping=ugidd"); else if (ep->e_maptype == CLE_MAP_FILE) c = dumpopt(c, "mapping=file"); - if (ep->e_anonuid != 65534) + if (ep->e_anonuid != -2) c = dumpopt(c, "anonuid=%d", ep->e_anonuid); - if (ep->e_anongid != 65534) + if (ep->e_anongid != -2) c = dumpopt(c, "anongid=%d", ep->e_anongid); printf("%c\n", (c != '(')? ')' : ' ');