Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch for sys/arch/hp700/hp700/machdep.c



Hi,
Please consider this path to make hp700 kernel compile

--- sys/arch/hp700/hp700/machdep.c.org  2008-12-17 04:05:10 +0000
+++ sys/arch/hp700/hp700/machdep.c      2009-01-14 22:48:36 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.55 2008/12/16 22:35:23 christos Exp $    */
+/*     $NetBSD: machdep.c,v 1.55 2009/01/14 22:45:23 christos Exp $    */

 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -1608,10 +1608,12 @@
        if (dumpsize == 0)
                cpu_dumpconf();
        if (dumplo <= 0) {
-               printf("\ndump to dev %x not possible\n", dumpdev);
+               printf("\ndump to dev %" PRIu64 ",%" PRIu64 " not possible\n",
+               major(dumpdev), minor(dumpdev));
                return;
        }
-       printf("\ndumping to dev %x, offset %ld\n", dumpdev, dumplo);
+       printf("\ndumping to dev %" PRIu64 ",%" PRIu64 " offset %ld\n",
+           major(dumpdev), minor(dumpdev), dumplo);

        psize = (*bdev->d_psize)(dumpdev);
        printf("dump ");


Home | Main Index | Thread Index | Old Index