VirtualBox

Changeset 8812 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 14, 2008 2:01:49 PM (17 years ago)
Author:
vboxsync
Message:

Build fix for OSX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r8811 r8812  
    840840        uint64_t cBlocks;
    841841        uint32_t cbBlock;
    842         if (!ioctl(fd, DKIOCGETBLOCKCOUNT, &cBlocks))
    843         {
    844             if (!ioctl(fd, DKIOCGETBLOCKSIZE, &cbBlock))
     842        if (!ioctl(RawFile, DKIOCGETBLOCKCOUNT, &cBlocks))
     843        {
     844            if (!ioctl(RawFile, DKIOCGETBLOCKSIZE, &cbBlock))
    845845                cbSize = cBlocks * cbBlock;
    846846            else
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