git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.10.11.
[libguestfs.git]
/
fish
/
alloc.c
diff --git
a/fish/alloc.c
b/fish/alloc.c
index
156fcc0
..
7799e4e
100644
(file)
--- a/
fish/alloc.c
+++ b/
fish/alloc.c
@@
-133,7
+133,9
@@
alloc_disk (const char *filename, const char *size_str, int add, int sparse)
}
if (add) {
}
if (add) {
- if (guestfs_add_drive (g, filename) == -1) {
+ if (guestfs_add_drive_opts (g, filename,
+ GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",
+ -1) == -1) {
unlink (filename);
return -1;
}
unlink (filename);
return -1;
}