From: Christoph Hellwig Date: Fri, 26 Nov 2010 13:32:34 +0000 (+0100) Subject: raw-posix: raw_pwrite comment fixup X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=11a3cb8159278f7452b5bec8b9e17292a3ef53c3;p=qemu.git raw-posix: raw_pwrite comment fixup Signed-off-by: Christoph Hellwig Signed-off-by: Kevin Wolf --- diff --git a/block/raw-posix.c b/block/raw-posix.c index d0960b85c4..9286fb8b0d 100644 --- a/block/raw-posix.c +++ b/block/raw-posix.c @@ -463,7 +463,7 @@ static int raw_pwrite(BlockDriverState *bs, int64_t offset, count -= ret; sum += ret; } - /* here, count < 512 because (count & ~sector_mask) == 0 */ + /* here, count < sector_size because (count & ~sector_mask) == 0 */ if (count) { ret = raw_pread_aligned(bs, offset, s->aligned_buf, bs->buffer_alignment);