diff options
author | kato <kato@FreeBSD.org> | 1998-02-23 14:57:50 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-02-23 14:57:50 +0000 |
commit | ae30f66c052867048c4ee556772d12eca6b5dab7 (patch) | |
tree | 657fb3ef23c9b80e245c778ddcbf383d9597623e /sys | |
parent | 8adfaa16ae464529205e89053108b8067f884f69 (diff) | |
download | FreeBSD-src-ae30f66c052867048c4ee556772d12eca6b5dab7.zip FreeBSD-src-ae30f66c052867048c4ee556772d12eca6b5dab7.tar.gz |
Fix signatures of NEC's DOS formats.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 18 | ||||
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 30ad072..ea7875c 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/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) { 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) { |