From ae30f66c052867048c4ee556772d12eca6b5dab7 Mon Sep 17 00:00:00 2001 From: kato Date: Mon, 23 Feb 1998 14:57:50 +0000 Subject: Fix signatures of NEC's DOS formats. Submitted by: Takahashi Yoshihiro --- sys/msdosfs/msdosfs_vfsops.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sys/msdosfs') diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 30ad072..ea7875c 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_vfsops.c,v 1.25 1998/02/22 15:09:46 ache Exp $ */ +/* $Id: msdosfs_vfsops.c,v 1.26 1998/02/23 09:59:08 ache Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */ /*- @@ -446,14 +446,14 @@ mountmsdosfs(devvp, mp, p, argp) if (!(argp->flags & MSDOSFSMNT_GEMDOSFS)) { #endif #ifdef PC98 - if (bsp->bs50.bsBootSectSig0 != BOOTSIG0 - || bsp->bs50.bsBootSectSig1 != BOOTSIG1 - && bsp->bs50.bsBootSectSig0 != 0 /* PC98 DOS 3.3x */ - || bsp->bs50.bsBootSectSig1 != 0 - && bsp->bs50.bsBootSectSig0 != 0x90 /* PC98 DOS 5.0 */ - || bsp->bs50.bsBootSectSig1 != 0x3d - && bsp->bs50.bsBootSectSig0 != 0x46 /* PC98 DOS 3.3B */ - || bsp->bs50.bsBootSectSig1 != 0xfa) { + if ((bsp->bs50.bsBootSectSig0 != BOOTSIG0 + || bsp->bs50.bsBootSectSig1 != BOOTSIG1) + && (bsp->bs50.bsBootSectSig0 != 0 /* PC98 DOS 3.3x */ + || bsp->bs50.bsBootSectSig1 != 0) + && (bsp->bs50.bsBootSectSig0 != 0x90 /* PC98 DOS 5.0 */ + || bsp->bs50.bsBootSectSig1 != 0x3d) + && (bsp->bs50.bsBootSectSig0 != 0x46 /* PC98 DOS 3.3B */ + || bsp->bs50.bsBootSectSig1 != 0xfa)) { #else if (bsp->bs50.bsBootSectSig0 != BOOTSIG0 || bsp->bs50.bsBootSectSig1 != BOOTSIG1) { -- cgit v1.1