VirtualBox

Ignore:
Timestamp:
Jun 23, 2009 6:32:16 AM (16 years ago)
Author:
vboxsync
Message:

gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c

    r20779 r20802  
    295295                    if (cbReq < sizeof(VBOXNETADPREQ))
    296296                    {
    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);
    298298                        return -EINVAL;
    299299                    }
     
    302302                    {
    303303                        /* 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);
    305305                        rc = -EFAULT;
    306306                    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette