Changeset 8812 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 14, 2008 2:01:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r8811 r8812 840 840 uint64_t cBlocks; 841 841 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)) 845 845 cbSize = cBlocks * cbBlock; 846 846 else
Note:
See TracChangeset
for help on using the changeset viewer.