Print dev_t (from major() and minor()) with %llu.

This commit is contained in:
he 2009-01-17 14:21:29 +00:00
parent 76cc88961f
commit 2319fa33da
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.58 2008/11/30 18:21:34 martin Exp $ */
/* $NetBSD: machdep.c,v 1.59 2009/01/17 14:21:29 he Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.58 2008/11/30 18:21:34 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.59 2009/01/17 14:21:29 he Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -615,14 +615,14 @@ dumpsys()
return;
}
if (dumplo <= 0) {
printf("\ndump to dev %u,%u not possible\n", major(dumpdev),
printf("\ndump to dev %llu,%llu not possible\n", major(dumpdev),
minor(dumpdev));
return;
}
dump = bdev->d_dump;
blkno = dumplo;
printf("\ndumping to dev %u,%u offset %ld\n", major(dumpdev),
printf("\ndumping to dev %llu,%llu offset %ld\n", major(dumpdev),
minor(dumpdev), dumplo);
printf("dump ");