diff options
author | Christoph Hellwig <hch@lst.de> | 2010-11-26 14:32:34 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-11-26 19:02:52 +0100 |
commit | 11a3cb8159278f7452b5bec8b9e17292a3ef53c3 (patch) | |
tree | 20cae08d692a49b351180a1edc21dc59c5b390ae /block/raw-posix.c | |
parent | 2dd791b6302c73345f92dc9b107635787fcff938 (diff) | |
download | qemu-11a3cb8159278f7452b5bec8b9e17292a3ef53c3.zip qemu-11a3cb8159278f7452b5bec8b9e17292a3ef53c3.tar.gz qemu-11a3cb8159278f7452b5bec8b9e17292a3ef53c3.tar.bz2 |
raw-posix: raw_pwrite comment fixup
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
-rw-r--r-- | block/raw-posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/raw-posix.c b/block/raw-posix.c index d0960b8..9286fb8 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); |