summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-11-14 09:52:25 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-11-14 09:52:25 +0000
commit8e9d1ba83626fb346e6e87649d2c1a1df19614f4 (patch)
treec94ca70d2de74d60534fad1c7ff0eafad300382f
parentd457bade76e5b4512e302fbcd27e5c31c07be500 (diff)
Notes
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/i386/i386/machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 6eb7a45c0c79..8963c3462632 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.149 1995/11/10 09:53:50 phk Exp $
+ * $Id: machdep.c,v 1.150 1995/11/12 19:51:22 phk Exp $
*/
#include "npx.h"
@@ -247,7 +247,7 @@ cpu_startup(dummy)
for (; phys_avail[indx + 1] != 0; indx += 2) {
int size = phys_avail[indx + 1] - phys_avail[indx];
- printf("0x%08x - 0x%08x, %d bytes (%d pages)\n", phys_avail[indx],
+ printf("0x%08lx - 0x%08lx, %d bytes (%d pages)\n", phys_avail[indx],
phys_avail[indx + 1] - 1, size, size / PAGE_SIZE);
}
}
@@ -426,7 +426,7 @@ again:
if (bios_geom == 0x4f010f)
continue;
- printf(" %x:%08x ", i, bios_geom);
+ printf(" %x:%08lx ", i, bios_geom);
max_cylinder = bios_geom >> 16;
max_head = (bios_geom >> 8) & 0xff;
max_sector = bios_geom & 0xff;
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 6eb7a45c0c79..8963c3462632 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.149 1995/11/10 09:53:50 phk Exp $
+ * $Id: machdep.c,v 1.150 1995/11/12 19:51:22 phk Exp $
*/
#include "npx.h"
@@ -247,7 +247,7 @@ cpu_startup(dummy)
for (; phys_avail[indx + 1] != 0; indx += 2) {
int size = phys_avail[indx + 1] - phys_avail[indx];
- printf("0x%08x - 0x%08x, %d bytes (%d pages)\n", phys_avail[indx],
+ printf("0x%08lx - 0x%08lx, %d bytes (%d pages)\n", phys_avail[indx],
phys_avail[indx + 1] - 1, size, size / PAGE_SIZE);
}
}
@@ -426,7 +426,7 @@ again:
if (bios_geom == 0x4f010f)
continue;
- printf(" %x:%08x ", i, bios_geom);
+ printf(" %x:%08lx ", i, bios_geom);
max_cylinder = bios_geom >> 16;
max_head = (bios_geom >> 8) & 0xff;
max_sector = bios_geom & 0xff;