From 1e42bf06011ef755ecc9c88bcc15a52dc1c631f6 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Tue, 6 Jan 2009 14:31:54 +0000 Subject: [PATCH] "fix" my build --- tools/blktap/drivers/block-qcow2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/blktap/drivers/block-qcow2.c b/tools/blktap/drivers/block-qcow2.c index fe28a2e..c3a1958 100644 --- a/tools/blktap/drivers/block-qcow2.c +++ b/tools/blktap/drivers/block-qcow2.c @@ -233,8 +233,10 @@ static int bdrv_pread(int fd, int64_t offset, void *buf, int count) ret = read(fd, buf, count); if (ret < 0) { if (lseek(fd, 0, SEEK_END) >= offset) { + /* DPRINTF("bdrv_pread read failed (%#"PRIx64", END = %#"PRIx64").\n", offset, lseek(fd, 0, SEEK_END)); + */ return -1; } -- 2.39.5