X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fappliance.c;fp=src%2Fappliance.c;h=ef724be5b4aeb8d0aef1aeeb634fca925be6d835;hb=78f1405de05ef1f2efebafd8245658d1707e59ef;hp=1b6b505e776bc6bf2596529610ee28be20bfab52;hpb=316ad8311a41869cf5f253225137dd03d1211ce7;p=libguestfs.git diff --git a/src/appliance.c b/src/appliance.c index 1b6b505..ef724be 100644 --- a/src/appliance.c +++ b/src/appliance.c @@ -308,7 +308,7 @@ check_for_cached_appliance (guestfs_h *g, uid_t uid, char **kernel, char **initrd, char **appliance) { - const char *tmpdir = guestfs_tmpdir (); + const char *tmpdir = guestfs___persistent_tmpdir (); /* len must be longer than the length of any pathname we can * generate in this function. @@ -419,7 +419,7 @@ build_supermin_appliance (guestfs_h *g, if (g->verbose) guestfs___print_timestamped_message (g, "begin building supermin appliance"); - const char *tmpdir = guestfs_tmpdir (); + const char *tmpdir = guestfs___persistent_tmpdir (); /* len must be longer than the length of any pathname we can * generate in this function.