diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:31:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:31:14 +0000 |
commit | de5376f6ab54105d367ef84762d22711310371e7 (patch) | |
tree | bf44ed50c2db9351ff55368d75f45c807cc72475 /sys/dev/ic/mfi.c | |
parent | e1d297c29cadf0be3ed3775c0cfbcd97d01d7b9a (diff) |
Fix various printf() issues: too many arguments, not enough arguments, argument
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
Diffstat (limited to 'sys/dev/ic/mfi.c')
-rw-r--r-- | sys/dev/ic/mfi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 072a0be0d4b..1b0aebe65a9 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.20 2006/04/20 14:01:08 dlg Exp $ */ +/* $OpenBSD: mfi.c,v 1.21 2006/04/20 20:31:12 miod Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -306,8 +306,8 @@ mfi_transition_firmware(struct mfi_softc *sc) break; } if (fw_state == cur_state) { - printf("%s: firmware stuck in state %#x\n", fw_state, - DEVNAME(sc)); + printf("%s: firmware stuck in state %#x\n", + DEVNAME(sc), fw_state); return (1); } } |