]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/cache.c
Fix handling of explicit uuid
[nfs-utils.git] / utils / mountd / cache.c
index 609c6e3ed015f23b14934471104d184c06be5590..2ebdd45b2007be60923cb5343c73c40c8728ba42 100644 (file)
@@ -592,8 +592,10 @@ static int dump_to_cache(FILE *f, char *domain, char *path, struct exportent *ex
                                qword_printhex(f, u, 16);
                        }
                } else {
+                       char u[16];
+                       get_uuid(NULL, exp->e_uuid, 16, u);
                        qword_print(f, "uuid");
-                       qword_printhex(f, exp->e_uuid, 16);
+                       qword_printhex(f, u, 16);
                }
 #endif
        }