summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pc98/pc98/atcompat_diskslice.c6
-rw-r--r--sys/pc98/pc98/diskslice_machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/pc98/pc98/atcompat_diskslice.c b/sys/pc98/pc98/atcompat_diskslice.c
index dfead1b..e7f2c39 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.7 1997/09/28 05:52:50 kato Exp $
+ * $Id: atcompat_diskslice.c,v 1.8 1997/12/02 21:06:49 phk Exp $
*/
/*
@@ -148,8 +148,8 @@ check_part(sname, dp, offset, nsectors, ntracks, mbr_offset )
error = (ssector == ssector1 && esector == esector1) ? 0 : EINVAL;
if (bootverbose)
printf("%s: type 0x%x, start %lu, end = %lu, size %lu %s\n",
- sname, dp->dp_typ, ssector1, esector1, dp->dp_size,
- error ? "" : ": OK");
+ sname, dp->dp_typ, ssector1, esector1,
+ (u_long)dp->dp_size, error ? "" : ": OK");
if (ssector != ssector1 && bootverbose)
printf("%s: C/H/S start %d/%d/%d (%lu) != start %lu: invalid\n",
sname, chs_scyl, dp->dp_shd, chs_ssect,
diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c
index e4e58f6..945b04d 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.11 1997/12/02 21:06:50 phk Exp $
+ * $Id: diskslice_machdep.c,v 1.12 1998/02/21 16:17:52 kato Exp $
*/
/*
@@ -186,8 +186,8 @@ check_part(sname, dp, offset, nsectors, ntracks, mbr_offset )
error ? "" : ": OK");
#else
printf("%s: type 0x%x, start %lu, end = %lu, size %lu %s\n",
- sname, dp->dp_typ, ssector1, esector1, dp->dp_size,
- error ? "" : ": OK");
+ sname, dp->dp_typ, ssector1, esector1,
+ (u_long)dp->dp_size, error ? "" : ": OK");
#endif
if (ssector != ssector1 && bootverbose)
printf("%s: C/H/S start %d/%d/%d (%lu) != start %lu: invalid\n",
OpenPOWER on IntegriCloud