aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-07 21:19:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-07 21:19:47 +0000
commit40e8bd8c766f02bad45f857dc7c426aa950b2db0 (patch)
tree83c6cffcbd2ac5ae45d1d19e22ab0638dc2165e3 /sys/dev
parent1786a481d713ee82443274804e7b7be167503625 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 24879bb23561..6a3b5315a615 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -799,8 +799,8 @@ tdfx_ioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
int retval = 0;
struct tdfx_pio_data *piod = (struct tdfx_pio_data*)data;
#ifdef DEBUG
- printf("IOCTL'd by #%d, cmd: 0x%x, data: 0x%x\n", td->td_proc->p_pid, (u_int32_t)cmd,
- (unsigned int)piod);
+ printf("IOCTL'd by #%d, cmd: 0x%x, data: %p\n", td->td_proc->p_pid, (u_int32_t)cmd,
+ piod);
#endif
switch(_IOC_TYPE(cmd)) {
/* Return the real error if negative, or simply stick the valid return