diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-19 11:14:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-19 11:14:21 +0000 |
commit | 5f53da613d398a2e7859380ac9fe1e684824381c (patch) | |
tree | 5123670ee70c6c2302479b3622daaa38e40594a2 /sys/arch/hppa | |
parent | 7c66463ceb2471bfde79c77d00fb56cf5ffb0b46 (diff) |
%b format strings take the value before the bitname string, not the other
way around.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/elroy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/elroy.c b/sys/arch/hppa/dev/elroy.c index 17018417931..c9cd43fafb3 100644 --- a/sys/arch/hppa/dev/elroy.c +++ b/sys/arch/hppa/dev/elroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elroy.c,v 1.9 2011/01/01 15:18:23 kettenis Exp $ */ +/* $OpenBSD: elroy.c,v 1.10 2011/09/19 11:14:20 miod Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -1269,7 +1269,7 @@ elroy_attach(struct device *parent, struct device *self, void *aux) elroy_read32(&r->status) & htole32(ELROY_STATUS_RC); DELAY(10)); if (i < 0) { printf(": reset failed; status %b\n", - ELROY_STATUS_BITS, htole32(r->status)); + htole32(r->status), ELROY_STATUS_BITS); return; } |