projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f50f8d
)
64 bit fix
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 8 May 2004 15:27:20 +0000
(15:27 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 8 May 2004 15:27:20 +0000
(15:27 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@790
c046a42c
-6fe2-441c-8c8c-
71466251a162
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 5ed7a02b30429351bb0656ed7fbda9dd4d6311e2..c1267888c85378832ba7fec048df958b77bbf07c 100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-170,7
+170,7
@@
int bdrv_open(BlockDriverState *bs, const char *filename, int snapshot)
#ifndef _WIN32
if (snapshot) {
/* create a temporary COW file */
- cow_fd = mkstemp(template);
+ cow_fd = mkstemp
64
(template);
if (cow_fd < 0)
goto fail;
bs->cow_fd = cow_fd;