summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-12-28 14:20:37 +0000
committerjsg <jsg@openbsd.org>2014-12-28 14:20:37 +0000
commitbf82f202c6ea76f2658979a39ca3e2d3420b11a7 (patch)
tree398a5d9b0bfbc6ec957fe6a888777f70a9fbcf18
parentUnbreak the tree. Looks like tedu did not tedu enough when killing KPDK (diff)
downloadwireguard-openbsd-bf82f202c6ea76f2658979a39ca3e2d3420b11a7.tar.xz
wireguard-openbsd-bf82f202c6ea76f2658979a39ca3e2d3420b11a7.zip
remove a surplus argument to printf caught by -Wformat
ok claudio@
-rw-r--r--sys/dev/pci/if_che.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_che.c b/sys/dev/pci/if_che.c
index e1129f9d8ba..c79a145ecf5 100644
--- a/sys/dev/pci/if_che.c
+++ b/sys/dev/pci/if_che.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_che.c,v 1.11 2014/12/28 13:55:30 jsg Exp $ */
+/* $OpenBSD: if_che.c,v 1.12 2014/12/28 14:20:37 jsg Exp $ */
/*
* Copyright (c) 2007 Claudio Jeker <claudio@openbsd.org>
@@ -555,8 +555,7 @@ che_read_eeprom(struct cheg_softc *sc, struct pci_attach_args *pa,
if (!pci_get_capability(pa->pa_pc, pa->pa_tag, CHE_PCI_CAP_ID_VPD,
&base, NULL)) {
- printf("%s: VPD EEPROM not found\n",
- DEVNAME(sc), addr);
+ printf("%s: VPD EEPROM not found\n", DEVNAME(sc));
return EIO;
}