summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-08-30 14:42:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-08-30 14:42:06 +0000
commit065ea7745b882b8e7f2754cf26987100c384513c (patch)
tree721b8a4acc40b6956319673621a48abd3abcf490 /sys/arch
parentf72cc703a34874ec6697564c0b30844b65e449a8 (diff)
Fix format strings in STIDEBUG code.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/dev/sti_sgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/sti_sgc.c b/sys/arch/hppa/dev/sti_sgc.c
index d7c4a3e9c6f..5e70251b142 100644
--- a/sys/arch/hppa/dev/sti_sgc.c
+++ b/sys/arch/hppa/dev/sti_sgc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti_sgc.c,v 1.39 2014/04/08 09:34:22 mpi Exp $ */
+/* $OpenBSD: sti_sgc.c,v 1.40 2014/08/30 14:42:05 miod Exp $ */
/*
* Copyright (c) 2000-2003 Michael Shalayeff
@@ -120,7 +120,7 @@ sti_sgc_probe(struct device *parent, void *match, void *aux)
rom = sti_sgc_getrom(cf->cf_unit, ca);
#ifdef STIDEBUG
- printf ("sti: hpa=%x, rom=%x\n", ca->ca_hpa, rom);
+ printf ("sti: hpa=%lx, rom=%lx\n", ca->ca_hpa, rom);
#endif
/* if it does not map, probably part of the lasi space */