summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-09-18 19:23:46 +0000
committermiod <miod@openbsd.org>2011-09-18 19:23:46 +0000
commit09161ba61aeb6c4adfb5a53051a6c3c7154be27f (patch)
treedbd8b6c6d9d7887a12e14c62553c5442cbe0e3c0
parentSet pointer to NULL not 0. From Michael Knudsen (several times). (diff)
downloadwireguard-openbsd-09161ba61aeb6c4adfb5a53051a6c3c7154be27f.tar.xz
wireguard-openbsd-09161ba61aeb6c4adfb5a53051a6c3c7154be27f.zip
Fix exchanged arguments in a "can't happen" printf
-rw-r--r--sys/arch/hp300/dev/mb89352.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c
index cdbf3627463..43cfdfc5fbc 100644
--- a/sys/arch/hp300/dev/mb89352.c
+++ b/sys/arch/hp300/dev/mb89352.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mb89352.c,v 1.28 2011/05/30 20:01:29 miod Exp $ */
+/* $OpenBSD: mb89352.c,v 1.29 2011/09/18 19:23:46 miod Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
@@ -998,7 +998,7 @@ nextbyte:
default:
printf("%s: unrecognized MESSAGE EXTENDED 0x%x;"
" sending REJECT\n",
- sc->sc_imess[2], sc->sc_dev.dv_xname);
+ sc->sc_dev.dv_xname, sc->sc_imess[2]);
SPC_BREAK();
goto reject;
}