diff options
author | kato <kato@FreeBSD.org> | 1997-09-28 05:52:51 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-09-28 05:52:51 +0000 |
commit | 7890a25c743065a14dca280f0dd17bce04d93a85 (patch) | |
tree | d6f859a2ec8571ffa919daa8f4ac8a2cf6f26b55 /sys/pc98 | |
parent | f052508469fb46ebd5cfffbf85adcfdb583bb782 (diff) | |
download | FreeBSD-src-7890a25c743065a14dca280f0dd17bce04d93a85.zip FreeBSD-src-7890a25c743065a14dca280f0dd17bce04d93a85.tar.gz |
Synchronize with sys/i386/isa/diskslice_machdep.c revision 1.26.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/atcompat_diskslice.c | 12 | ||||
-rw-r--r-- | sys/pc98/pc98/diskslice_machdep.c | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/sys/pc98/pc98/atcompat_diskslice.c b/sys/pc98/pc98/atcompat_diskslice.c index c6a7372..dcf4472 100644 --- a/sys/pc98/pc98/atcompat_diskslice.c +++ b/sys/pc98/pc98/atcompat_diskslice.c @@ -35,7 +35,7 @@ * * from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91 * from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $ - * $Id: atcompat_diskslice.c,v 1.5 1997/02/22 09:43:31 peter Exp $ + * $Id: atcompat_diskslice.c,v 1.6 1997/04/20 05:16:05 kato Exp $ */ /* @@ -224,8 +224,9 @@ reread_mbr: sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART, partname); if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) { - printf("%s: invalid primary partition table: no magic\n", - sname); + if (bootverbose) + printf("%s: invalid primary partition table: no magic\n", + sname); error = EINVAL; goto done; } @@ -419,8 +420,9 @@ atcompat_extended(dname, dev, strat, lp, ssp, ext_offset, ext_size, if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) { sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART, partname); - printf("%s: invalid extended partition table: no magic\n", - sname); + if (bootverbose) + printf("%s: invalid extended partition table: no magic\n", + sname); goto done; } diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c index 2056573..c20b978 100644 --- a/sys/pc98/pc98/diskslice_machdep.c +++ b/sys/pc98/pc98/diskslice_machdep.c @@ -35,7 +35,7 @@ * * from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91 * from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $ - * $Id: diskslice_machdep.c,v 1.8 1997/02/22 09:43:33 peter Exp $ + * $Id: diskslice_machdep.c,v 1.9 1997/04/20 05:16:06 kato Exp $ */ /* @@ -275,8 +275,9 @@ reread_mbr: sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART, partname); if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) { - printf("%s: invalid primary partition table: no magic\n", - sname); + if (bootverbose) + printf("%s: invalid primary partition table: no magic\n", + sname); error = EINVAL; goto done; } @@ -578,8 +579,9 @@ extended(dname, dev, strat, lp, ssp, ext_offset, ext_size, base_ext_offset, if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) { sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART, partname); - printf("%s: invalid extended partition table: no magic\n", - sname); + if (bootverbose) + printf("%s: invalid extended partition table: no magic\n", + sname); goto done; } |