VirtualBox

Changeset 31543 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 10, 2010 4:27:29 PM (14 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r31539 r31543  
    66216621            Utf8Str str(tapDeviceName);
    66226622            if (str.length() <= sizeof(IfReq.ifr_name))
    6623                 strcpy(IfReq.ifr_name, str.raw());
     6623                strcpy(IfReq.ifr_name, str.c_str());
    66246624            else
    6625                 memcpy(IfReq.ifr_name, str.raw(), sizeof(IfReq.ifr_name) - 1); /** @todo bitch about names which are too long... */
     6625                memcpy(IfReq.ifr_name, str.c_str(), sizeof(IfReq.ifr_name) - 1); /** @todo bitch about names which are too long... */
    66266626            IfReq.ifr_flags = IFF_TAP | IFF_NO_PI;
    66276627            rcVBox = ioctl(maTapFD[slot], TUNSETIFF, &IfReq);
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