summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
commitb8183a0dbd4877f3cb0a20e0e6125c02674f08d2 (patch)
treed8807435b56011aa01dbd9ae817d091c18d254de /sys/arch/hp300
parent0b88d158f37a4188b2c37633639614eba0110aa5 (diff)
Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
Diffstat (limited to 'sys/arch/hp300')
-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 36a40b58056..5aa59b1527d 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.72 2013/10/14 23:26:22 krw Exp $ */
+/* $OpenBSD: hd.c,v 1.73 2013/11/01 17:36:19 krw Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -1049,7 +1049,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: %lld, P1-P10: ", hwbn);
+ printf(" block: %lld, P1-P10: ", (long long)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]);