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/alpha | |
parent | dee7f16de5a81870bb319c545cbb42e2e7dadc51 (diff) |
unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two)
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/disksubr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index d83af88f3e8..a02595d5086 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.80 2007/06/09 18:03:59 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.81 2007/06/09 18:05:45 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -313,16 +313,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; |