diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-09 18:05:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-09 18:05:48 +0000 |
commit | 7ce48a6e5031cf57aeef6bda2f6ad059f2041fc5 (patch) | |
tree | 53b0d565dda9e107793027d2efc1e04df42baeb3 /sys/arch/mips64 | |
parent | dee7f16de5a81870bb319c545cbb42e2e7dadc51 (diff) |
unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two)
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/mips64/disksubr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mips64/mips64/disksubr.c b/sys/arch/mips64/mips64/disksubr.c index fb8330d4b36..b2e2a2748e0 100644 --- a/sys/arch/mips64/mips64/disksubr.c +++ b/sys/arch/mips64/mips64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.50 2007/06/09 04:08:39 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.51 2007/06/09 18:05:47 deraadt Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -327,16 +327,15 @@ donot: case DOSPTYP_FAT12: case DOSPTYP_FAT16S: case DOSPTYP_FAT16B: + case DOSPTYP_FAT16L: case DOSPTYP_FAT32: case DOSPTYP_FAT32L: - case DOSPTYP_FAT16L: pp->p_fstype = FS_MSDOS; n++; break; case DOSPTYP_EXTEND: case DOSPTYP_EXTENDL: - part_blkno = - letoh32(dp2->dp_start) + extoff; + part_blkno = letoh32(dp2->dp_start) + extoff; if (!extoff) { extoff = letoh32(dp2->dp_start); part_blkno = 0; |