From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAMeO-0001ON-0y for qemu-devel@nongnu.org; Mon, 15 May 2017 16:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAMeN-0003XW-4R for qemu-devel@nongnu.org; Mon, 15 May 2017 16:31:27 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 15 May 2017 22:31:03 +0200 Message-Id: <20170515203114.9477-4-hpoussin@reactos.org> In-Reply-To: <20170515203114.9477-1-hpoussin@reactos.org> References: <20170515203114.9477-1-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 03/13] vvfat: fix typos List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Max Reitz , qemu-block@nongnu.org, =?UTF-8?q?Herv=C3=A9=20Poussineau?= Signed-off-by: Herv=C3=A9 Poussineau --- block/vvfat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/block/vvfat.c b/block/vvfat.c index 002bd86e42..57f2489689 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -404,9 +404,9 @@ static void init_mbr(BDRVVVFATState *s, int cyls, int= heads, int secs) /* FAT12/FAT16/FAT32 */ /* DOS uses different types when partition is LBA, probably to prevent older versions from using CHS on them */ - partition->fs_type=3D s->fat_type=3D=3D12 ? 0x1: - s->fat_type=3D=3D16 ? (lba?0xe:0x06): - /*fat_tyoe=3D=3D32*/ (lba?0xc:0x0b); + partition->fs_type =3D s->fat_type =3D=3D 12 ? 0x1 : + s->fat_type =3D=3D 16 ? (lba ? 0xe : 0x06) : + /*s->fat_type =3D=3D 32*/ (lba ? 0xc : 0x0b); =20 real_mbr->magic[0]=3D0x55; real_mbr->magic[1]=3D0xaa; } @@ -806,7 +806,7 @@ static int read_directory(BDRVVVFATState* s, int mapp= ing_index) (ROOT_ENTRIES - cur) * sizeof(direntry_t)); } =20 - /* reget the mapping, since s->mapping was possibly realloc()ed */ + /* reset the mapping, since s->mapping was possibly realloc()ed */ mapping =3D array_get(&(s->mapping), mapping_index); first_cluster +=3D (s->directory.next - mapping->info.dir.first_dir_= index) * 0x20 / s->cluster_size; --=20 2.11.0