summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/diskslice_machdep.c6
-rw-r--r--sys/kern/subr_diskmbr.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/isa/diskslice_machdep.c b/sys/i386/isa/diskslice_machdep.c
index 943ef5a..13afbdb 100644
--- a/sys/i386/isa/diskslice_machdep.c
+++ b/sys/i386/isa/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.28 1998/07/11 07:45:35 bde Exp $
+ * $Id: diskslice_machdep.c,v 1.29 1998/07/20 13:39:43 bde Exp $
*/
#include <sys/param.h>
@@ -184,7 +184,7 @@ reread_mbr:
(*strat)(bp);
if (biowait(bp) != 0) {
diskerr(bp, dname, "error reading primary partition table",
- LOG_PRINTF, 0, lp);
+ LOG_PRINTF, 0, (struct disklabel *)NULL);
printf("\n");
error = EIO;
goto done;
@@ -373,7 +373,7 @@ extended(dname, dev, strat, lp, ssp, ext_offset, ext_size, base_ext_offset,
(*strat)(bp);
if (biowait(bp) != 0) {
diskerr(bp, dname, "error reading extended partition table",
- LOG_PRINTF, 0, lp);
+ LOG_PRINTF, 0, (struct disklabel *)NULL);
printf("\n");
goto done;
}
diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c
index 943ef5a..13afbdb 100644
--- a/sys/kern/subr_diskmbr.c
+++ b/sys/kern/subr_diskmbr.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.28 1998/07/11 07:45:35 bde Exp $
+ * $Id: diskslice_machdep.c,v 1.29 1998/07/20 13:39:43 bde Exp $
*/
#include <sys/param.h>
@@ -184,7 +184,7 @@ reread_mbr:
(*strat)(bp);
if (biowait(bp) != 0) {
diskerr(bp, dname, "error reading primary partition table",
- LOG_PRINTF, 0, lp);
+ LOG_PRINTF, 0, (struct disklabel *)NULL);
printf("\n");
error = EIO;
goto done;
@@ -373,7 +373,7 @@ extended(dname, dev, strat, lp, ssp, ext_offset, ext_size, base_ext_offset,
(*strat)(bp);
if (biowait(bp) != 0) {
diskerr(bp, dname, "error reading extended partition table",
- LOG_PRINTF, 0, lp);
+ LOG_PRINTF, 0, (struct disklabel *)NULL);
printf("\n");
goto done;
}
OpenPOWER on IntegriCloud