diff options
author | 2007-11-26 00:30:44 +0000 | |
---|---|---|
committer | 2007-11-26 00:30:44 +0000 | |
commit | 49f32a01cb839cbd4dfb2942ece8c14a5c1814a3 (patch) | |
tree | 3b72433c1bea2558c1019fbe4aa7507624e147d6 | |
parent | Fix hardware cursor mapping. (diff) | |
download | wireguard-openbsd-49f32a01cb839cbd4dfb2942ece8c14a5c1814a3.tar.xz wireguard-openbsd-49f32a01cb839cbd4dfb2942ece8c14a5c1814a3.zip |
Fix jsg@'s iRiver Clix by relaxing the test for SecPerTrack to allow
64 instead of 63. deraadt@, weingart@, millert@, thib@, miod@ ok with
eliminating test entirely but tom@'s voice of caution wins out for the
quick commit. Tested by jsg@ to confirm it fixes his device.
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 292af07dac6..d2dbf43dd5e 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.49 2007/11/15 19:11:52 deraadt Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.50 2007/11/26 00:30:44 krw Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -324,7 +324,7 @@ msdosfs_mountfs(devvp, mp, p, argp) /* Determine the number of DEV_BSIZE blocks in a MSDOSFS sector */ pmp->pm_BlkPerSec = pmp->pm_BytesPerSec / DEV_BSIZE; - if (!pmp->pm_BytesPerSec || !SecPerClust || pmp->pm_SecPerTrack > 63) { + if (!pmp->pm_BytesPerSec || !SecPerClust || pmp->pm_SecPerTrack > 64) { error = EFTYPE; goto error_exit; } |