diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-08 15:27:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-08 15:27:20 +0000 |
commit | 2b64948eb5ff24d2aed530b2fc5a25217cdc72f7 (patch) | |
tree | ddf5a9892e0923f86bb66b424414208b32808ed7 | |
parent | 1f50f8d1d4b7c3c6e86b149e1beba12da0b9cd27 (diff) |
64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@790 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = mkstemp64(template); if (cow_fd < 0) goto fail; bs->cow_fd = cow_fd; |