From 705be728c0b5546da10d8ef4239a112d1616bb97 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Mon, 10 Nov 2014 17:10:38 +0800 Subject: block: Fix comment for bdrv_co_get_block_status It returns more information than binary, fix the comment. Signed-off-by: Fam Zheng Reviewed-by: Max Reitz Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'block.c') diff --git a/block.c b/block.c index 88f6d9b236..5f5b244a98 100644 --- a/block.c +++ b/block.c @@ -3877,9 +3877,9 @@ typedef struct BdrvCoGetBlockStatusData { } BdrvCoGetBlockStatusData; /* - * Returns true iff the specified sector is present in the disk image. Drivers - * not implementing the functionality are assumed to not support backing files, - * hence all their sectors are reported as allocated. + * Returns the allocation status of the specified sectors. + * Drivers not implementing the functionality are assumed to not support + * backing files, hence all their sectors are reported as allocated. * * If 'sector_num' is beyond the end of the disk image the return value is 0 * and 'pnum' is set to 0. -- cgit v1.2.1