Changeset 13580 in vbox for trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
- Timestamp:
- Oct 27, 2008 2:04:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
r12638 r13580 777 777 int rc; 778 778 779 /* Image must be opened and the new flags must be valid. Just readonly flag780 * i ssupported. */781 if (!pImage || uOpenFlags & ~VD_OPEN_FLAGS_READONLY)779 /* Image must be opened and the new flags must be valid. Just readonly and 780 * info flags are supported. */ 781 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO))) 782 782 { 783 783 rc = VERR_INVALID_PARAMETER;
Note:
See TracChangeset
for help on using the changeset viewer.