git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32 bit: Use %td for ptrdiff_t (difference between two pointers).
[libguestfs.git]
/
src
/
inspect.c
diff --git
a/src/inspect.c
b/src/inspect.c
index
e83e824
..
1b41be5
100644
(file)
--- a/
src/inspect.c
+++ b/
src/inspect.c
@@
-719,7
+719,7
@@
guestfs___download_to_tmp (guestfs_h *g, struct inspect_fs *fs,
int64_t size;
/* Make the basename unique by prefixing it with the fs number. */
int64_t size;
/* Make the basename unique by prefixing it with the fs number. */
- if (asprintf (&r, "%s/%
l
d-%s", g->tmpdir, fs - g->fses, basename) == -1) {
+ if (asprintf (&r, "%s/%
t
d-%s", g->tmpdir, fs - g->fses, basename) == -1) {
perrorf (g, "asprintf");
return NULL;
}
perrorf (g, "asprintf");
return NULL;
}