Changeset 20802 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
- Timestamp:
- Jun 23, 2009 6:32:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r20779 r20802 295 295 if (cbReq < sizeof(VBOXNETADPREQ)) 296 296 { 297 printk(KERN_ERR "VBoxNetAdpLinuxIOCtl: param len %#x < req size %# lx; uCmd=%#x\n", cbReq, sizeof(VBOXNETADPREQ), uCmd);297 printk(KERN_ERR "VBoxNetAdpLinuxIOCtl: param len %#x < req size %#zx; uCmd=%#x\n", cbReq, sizeof(VBOXNETADPREQ), uCmd); 298 298 return -EINVAL; 299 299 } … … 302 302 { 303 303 /* this is really bad! */ 304 printk(KERN_ERR "VBoxNetAdpLinuxIOCtl: copy_to_user(%#lx,,%# lx); uCmd=%#x!\n", ulArg, sizeof(Req), uCmd);304 printk(KERN_ERR "VBoxNetAdpLinuxIOCtl: copy_to_user(%#lx,,%#zx); uCmd=%#x!\n", ulArg, sizeof(Req), uCmd); 305 305 rc = -EFAULT; 306 306 }
Note:
See TracChangeset
for help on using the changeset viewer.