aboutsummaryrefslogtreecommitdiff
path: root/aio.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-08-20 12:10:05 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:19:00 -0500
commit2c993ec294893af31deed27e5d79610ce71642e1 (patch)
tree2f51b19ea8f87c8d5386af80f83559a2f5512494 /aio.c
parent1f22a6bc62bc7b1c21a4dc5c9cf16e156ad8321e (diff)
downloadqemu-2c993ec294893af31deed27e5d79610ce71642e1.zip
qemu-2c993ec294893af31deed27e5d79610ce71642e1.tar.gz
qemu-2c993ec294893af31deed27e5d79610ce71642e1.tar.bz2
w32: Fix qemu_ftruncate64
SetFilePointer returns INVALID_SET_FILE_POINTER when it fails. In addition, GetLastError must be checked. The first call of SetFilePointer did not use INVALID_SET_FILE_POINTER, the second call used wrong error handling. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'aio.c')
0 files changed, 0 insertions, 0 deletions