diff options
author | 2013-03-04 01:33:18 +0000 | |
---|---|---|
committer | 2013-03-04 01:33:18 +0000 | |
commit | 4dec251ab1b0b434342378a20ee549502a16c54a (patch) | |
tree | 49c26e637b57cdad1f819098f0cf2ed6c5745d48 | |
parent | replace the LIST_ENTRY in scsi_xfer with a SIMPLEQ_ENTRY. the things that (diff) | |
download | wireguard-openbsd-4dec251ab1b0b434342378a20ee549502a16c54a.tar.xz wireguard-openbsd-4dec251ab1b0b434342378a20ee549502a16c54a.zip |
fix format string issue when printing an error our on bge's with APE and
more than 4 pci functions.
pointed out by masanobu saitoh
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 92005302c1c..08a40e12d81 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.319 2013/02/22 01:26:55 dlg Exp $ */ +/* $OpenBSD: if_bge.c,v 1.320 2013/03/04 01:33:18 dlg Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -532,7 +532,7 @@ bge_ape_lock_init(struct bge_softc *sc) break; default: printf("%s: PHY lock not supported on function %d\n", - sc->bge_dev.dv_xname); + sc->bge_dev.dv_xname, pa->pa_function); break; } } |