aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-11-09 08:08:06 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-11-09 08:08:06 +0000
commit96fca41fcf6ef89bef52ca359c66d994182ed536 (patch)
treeaeef278fbccf88e41e9b69f52434a3950d27ce2f /sys/pci/pci.c
parentdd31125d721ad67d955ab4d854e207247bd9c7c4 (diff)
downloadsrc-96fca41fcf6ef89bef52ca359c66d994182ed536.tar.gz
src-96fca41fcf6ef89bef52ca359c66d994182ed536.zip
s/%#p/%p/ to fix a warning. This looks like a leftover of once being
%#x, which causes a leading 0x to be prepended. %p has this by default and the '#' is ignored by the kernel prinf code for %p.
Notes
Notes: svn path=/head/; revision=41030
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 3d3ead460f04..14425256ebae 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci.c,v 1.89 1998/09/16 08:28:11 dfr Exp $
+ * $Id: pci.c,v 1.90 1998/11/03 08:47:29 julian Exp $
*
*/
@@ -772,7 +772,7 @@ pci_ioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
*/
if ((error = useracc((caddr_t)cio->patterns,
cio->pat_buf_len, B_READ)) != 1){
- printf("pci_ioctl: pattern buffer %#p, "
+ printf("pci_ioctl: pattern buffer %p, "
"length %u isn't user accessible for"
" READ\n", cio->patterns,
cio->pat_buf_len);
@@ -808,7 +808,7 @@ pci_ioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
*/
if ((error = useracc((caddr_t)cio->matches, cio->match_buf_len,
B_WRITE)) != 1) {
- printf("pci_ioctl: match buffer %#p, length %u "
+ printf("pci_ioctl: match buffer %p, length %u "
"isn't user accessible for WRITE\n",
cio->matches, cio->match_buf_len);
error = EACCES;