diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-15 19:11:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-15 19:11:53 +0000 |
commit | df8447dd7275fa203178fe92b7a94fd03857f8ff (patch) | |
tree | c6faf4b03c1111a0733aac0dc1ad3579c85f45d1 /sys | |
parent | b906e151cb6eda2db7e501224eb86086f22c22dc (diff) |
read boot sector as 4K block, because of new ipod nano
from Alexey Vatchenko; ok tom
Diffstat (limited to 'sys')
-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 d2cf826f2c3..292af07dac6 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.48 2007/09/17 01:33:33 krw Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.49 2007/11/15 19:11:52 deraadt Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -294,7 +294,7 @@ msdosfs_mountfs(devvp, mp, p, argp) * Read the boot sector of the filesystem, and then check the * boot signature. If not a dos boot sector then error out. */ - if ((error = bread(devvp, 0, 2048, NOCRED, &bp)) != 0) + if ((error = bread(devvp, 0, 4096, NOCRED, &bp)) != 0) goto error_exit; bp->b_flags |= B_AGE; bsp = (union bootsector *)bp->b_data; |