Changeset 23159 in vbox for trunk/src/VBox
- Timestamp:
- Sep 19, 2009 8:00:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c
r23068 r23159 147 147 */ 148 148 static int 149 VBoxNetAdpFreeBSDCtrlioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)149 VBoxNetAdpFreeBSDCtrlioctl(struct cdev *dev, u_long iCmd, caddr_t data, int flags, struct thread *td) 150 150 { 151 151 PVBOXNETADP pAdp; … … 154 154 int rc; 155 155 156 switch ( cmd)156 switch (iCmd) 157 157 { 158 158 case VBOXNETADP_CTL_ADD: 159 if ( !( cmd & IOC_OUT) /* paranoia*/159 if ( !(iCmd & IOC_OUT) /* paranoia*/ 160 160 || IOCPARM_LEN(iCmd) < sizeof(*pReq)) 161 161 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.