diff options
author | 2009-08-11 23:58:35 +0000 | |
---|---|---|
committer | 2009-08-11 23:58:35 +0000 | |
commit | a7233ce9fc033fd6a53c41fb82f40c8c35d53c7b (patch) | |
tree | 4b2b70db7cdf73aa72dcc498d798c8955c1e3d76 | |
parent | kill the old 3.3.1 -> 3.3.2 format converter (diff) | |
download | wireguard-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.c | 4 |
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); } |