From 969541a5637927b596d454203b1af3b5ba794d9e Mon Sep 17 00:00:00 2001 From: cegger Date: Wed, 21 Jan 2009 09:43:40 +0000 Subject: [PATCH] buildfix: re-adapt to major()/minor() returning a 32bit value. --- sys/arch/amd64/amd64/machdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index a0b8bdfc1073..3b0e0bc708c4 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.118 2009/01/15 19:03:31 joerg Exp $ */ +/* $NetBSD: machdep.c,v 1.119 2009/01/21 09:43:40 cegger Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008 @@ -112,7 +112,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.118 2009/01/15 19:03:31 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.119 2009/01/21 09:43:40 cegger Exp $"); /* #define XENDEBUG_LOW */ @@ -895,11 +895,11 @@ dodumpsys(void) if (dumpsize == 0) cpu_dumpconf(); if (dumplo <= 0 || dumpsize == 0) { - printf("\ndump to dev %lu,%lu not possible\n", major(dumpdev), + printf("\ndump to dev %u,%u not possible\n", major(dumpdev), minor(dumpdev)); return; } - printf("\ndumping to dev %lu,%lu offset %ld\n", major(dumpdev), + printf("\ndumping to dev %u,%u offset %ld\n", major(dumpdev), minor(dumpdev), dumplo); psize = (*bdev->d_psize)(dumpdev);