VirtualBox

Changeset 79282 in vbox


Ignore:
Timestamp:
Jun 21, 2019 8:35:35 PM (6 years ago)
Author:
vboxsync
Message:

Main/GuestFileImpl.cpp: Corrected worker called by writeAt to be the one that takes an offset. bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r79278 r79282  
    15591559    const uint32_t cbData = (uint32_t)aData.size();
    15601560    const void *pvData = (void *)&aData.front();
    1561     int vrc = i_writeData(aTimeoutMS, pvData, cbData, (uint32_t*)aWritten);
     1561    int vrc = i_writeDataAt(aOffset, aTimeoutMS, pvData, cbData, (uint32_t*)aWritten);
    15621562    if (RT_FAILURE(vrc))
    15631563        hr = setErrorBoth(VBOX_E_IPRT_ERROR, vrc, tr("Writing %zubytes to file \"%s\" (at offset %RU64) failed: %Rrc"),
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