summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-14 23:07:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-14 23:07:57 +0000
commit31bf1568e7fd374cd351cbd4d98db53a591575d0 (patch)
tree4faf1c7262132f2deb015055af4d068e77b21d6c /sys/arch/hppa
parent2f0e3749ca723d118ec079fd20f4f10fa5ee84e4 (diff)
print layers in hex
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index 1b5af7b9ddc..d3d7180ef2f 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.39 2003/12/23 23:07:47 mickey Exp $ */
+/* $OpenBSD: autoconf.c,v 1.40 2004/09/14 23:07:56 mickey Exp $ */
/*
* Copyright (c) 1998-2003 Michael Shalayeff
@@ -375,9 +375,9 @@ print_devpath(const char *label, struct pz_device *pz)
if (pz->pz_bc[i] >= 0)
printf("%d/", pz->pz_bc[i]);
- printf("%d.%d", pz->pz_mod, pz->pz_layers[0]);
+ printf("%d.%x", pz->pz_mod, pz->pz_layers[0]);
for (i = 1; i < 6 && pz->pz_layers[i]; i++)
- printf(".%d", pz->pz_layers[i]);
+ printf(".%x", pz->pz_layers[i]);
printf(" class=%d flags=%b hpa=%p spa=%p io=%p\n", pz->pz_class,
pz->pz_flags, PZF_BITS, pz->pz_hpa, pz->pz_spa, pz->pz_iodc_io);