From patchwork Sun Apr 23 14:33:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: 858585 jemmy X-Patchwork-Id: 9694857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37EF2601E9 for ; Sun, 23 Apr 2017 14:34:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 025CD26490 for ; Sun, 23 Apr 2017 14:34:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB814269A3; Sun, 23 Apr 2017 14:34:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A93D026490 for ; Sun, 23 Apr 2017 14:34:25 +0000 (UTC) Received: from localhost ([::1]:39434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2Ian-0007LX-15 for patchwork-qemu-devel@patchwork.kernel.org; Sun, 23 Apr 2017 10:34:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2IZu-0007K4-D4 for qemu-devel@nongnu.org; Sun, 23 Apr 2017 10:33:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2IZt-0003LU-EF for qemu-devel@nongnu.org; Sun, 23 Apr 2017 10:33:30 -0400 Received: from mail-io0-x243.google.com ([2607:f8b0:4001:c06::243]:35705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2IZt-0003Kq-AB; Sun, 23 Apr 2017 10:33:29 -0400 Received: by mail-io0-x243.google.com with SMTP id d203so41137273iof.2; Sun, 23 Apr 2017 07:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ftZk7t0AP2pst5abtDwexk68yv2EjTeradn/kCXbzHk=; b=PoyRxUXld/1lbHxf09TOrNroUZmM2/bOKckXsozdHhwxsQ6OmYzKHND7cJU4sL8D0g jvBJI0G6lUEV/Hi7JWJRiwR3gms5fonbT97N6R//oTiY6DvY1/oK1k0RN+981QcXcp+h ytGpt/EsZX0f8lF+Aj4iBiAwELUj+SfCq3tp8DkKGUX0OVdi5uEQ4SpaNi7ByAYf/7Xa QvYyS40pYJZnP40Q3tzwGhA7sW4sScYa/EuIShWLb7SHIDd9zObsNueq/xshlftKBZVM 8unLOhDrF0McnUHbNK4KI8Gsd6WvUMHQRaG6Shd5kjXbfdxWZ5ePvNUjRO0/cEeYkP3m cFZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ftZk7t0AP2pst5abtDwexk68yv2EjTeradn/kCXbzHk=; b=Y10EtHayQzNp/87i8aaDdxBnbnYomi3S9f/s12REbI5B1gAnA6Yutl0JtTRwAqbcOk bNfHGZxM8/roVIdAb1xgXoZKSJSJt30b8J8f8msweez/bGS0xNmcjbgZGpD8BseTtv7d iKwiUF3wnHEnDoLc/GFdcrXjVgXJqF5pJT+FUjw47thVq7UElb0C3t8FHEaVBO2N0Psh 683y+JPc+ryv+ygI3OC62EJWM/ZUECpNqQ6ZyzYsjX10ankuCYjm4Gh44QpHWTI6dFtR EZDD5YqRMvHPk8ssGJ3WoAnGPUzts7MKKz5J6HU5VFef8aCVGRAc43QZHfMT+3R1QddZ dk2Q== X-Gm-Message-State: AN3rC/42k1EsBjQ0YloEzTP4UqCYOpqNaqbAQYH21BccIuE3qzrYiF4T GjLWmRWxye9Mrkub X-Received: by 10.98.218.15 with SMTP id c15mr20091517pfh.240.1492958008322; Sun, 23 Apr 2017 07:33:28 -0700 (PDT) Received: from localhost.localdomain ([119.28.70.25]) by smtp.gmail.com with ESMTPSA id f62sm25861106pfb.84.2017.04.23.07.33.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Apr 2017 07:33:27 -0700 (PDT) From: jemmy858585@gmail.com X-Google-Original-From: lidongchen@tencent.com To: qemu-devel@nongnu.org Date: Sun, 23 Apr 2017 22:33:17 +0800 Message-Id: <1492957997-28587-2-git-send-email-lidongchen@tencent.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1492957997-28587-1-git-send-email-lidongchen@tencent.com> References: <1492957997-28587-1-git-send-email-lidongchen@tencent.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::243 Subject: [Qemu-devel] [PATCH 2/2] qemu-img: fix some spelling errors X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, Lidong Chen , qemu-block@nongnu.org, mreitz@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Lidong Chen Fix some spelling errors in is_allocated_sectors comment. Signed-off-by: Lidong Chen --- qemu-img.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index df6d165..0b3349c 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1033,8 +1033,8 @@ done: } /* - * Returns true iff the first sector pointed to by 'buf' contains at least - * a non-NUL byte. + * Returns true if the first sector pointed to by 'buf' contains at least + * a non-NULL byte. * * 'pnum' is set to the number of sectors (including and immediately following * the first one) that are known to be in the same allocated/unallocated state.