summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2009-08-11 23:58:35 +0000
committermartynas <martynas@openbsd.org>2009-08-11 23:58:35 +0000
commita7233ce9fc033fd6a53c41fb82f40c8c35d53c7b (patch)
tree4b2b70db7cdf73aa72dcc498d798c8955c1e3d76
parentkill the old 3.3.1 -> 3.3.2 format converter (diff)
downloadwireguard-openbsd-a7233ce9fc033fd6a53c41fb82f40c8c35d53c7b.tar.xz
wireguard-openbsd-a7233ce9fc033fd6a53c41fb82f40c8c35d53c7b.zip
don't take chip revision as a pointer to the string; swap it with xname
ok naddy@
-rw-r--r--sys/dev/pci/if_ti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 591ee311e7e..1c0c0758a4a 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.96 2009/08/08 15:58:14 naddy Exp $ */
+/* $OpenBSD: if_ti.c,v 1.97 2009/08/11 23:58:35 martynas Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1294,7 +1294,7 @@ ti_chipinit(struct ti_softc *sc)
default:
printf("\n");
printf("%s: unsupported chip revision: %x\n",
- chip_rev, sc->sc_dv.dv_xname);
+ sc->sc_dv.dv_xname, chip_rev);
return (ENODEV);
}