summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hd.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-24 08:52:14 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-24 08:52:14 +0000
commit30bec3c9b8f4f2038be06030eeb602f4c92b55f6 (patch)
treec5cc6960fb4267a4c00f042e2a1554c9c3e2afb6 /sys/arch/hp300/dev/hd.c
parentccb411cd75b1a29bd369ea014ff28be13e3c0d71 (diff)
- fix format strings for values that are daddr64_t
ok otto@, agreed by deraadt@
Diffstat (limited to 'sys/arch/hp300/dev/hd.c')
-rw-r--r--sys/arch/hp300/dev/hd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index 5fc24a0a1c5..5d43b09034e 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.58 2009/08/16 12:17:35 miod Exp $ */
+/* $OpenBSD: hd.c,v 1.59 2009/08/24 08:52:13 jasper Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -1079,7 +1079,7 @@ hderror(unit)
hdprinterr("fault", sp->c_fef, err_fault);
hdprinterr("access", sp->c_aef, err_access);
hdprinterr("info", sp->c_ief, err_info);
- printf(" block: %d, P1-P10: ", hwbn);
+ printf(" block: %lld, P1-P10: ", hwbn);
printf("0x%04x", *(u_int *)&sp->c_raw[0]);
printf("%04x", *(u_int *)&sp->c_raw[4]);
printf("%02x\n", *(u_short *)&sp->c_raw[8]);