From: Christoph Hellwig Date: Fri, 26 Nov 2010 13:32:34 +0000 (+0100) Subject: raw-posix: raw_pwrite comment fixup X-Git-Tag: v0.14.0-rc0~410^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11a3cb8159278f7452b5bec8b9e17292a3ef53c3;p=thirdparty%2Fqemu.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 d0960b85c4f..9286fb8b0d2 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);