VirtualBox

Ignore:
Timestamp:
Feb 23, 2021 11:08:43 AM (4 years ago)
Author:
vboxsync
Message:

IPRT/RTFileQuerySectorSize/solaris: Fix reference to uninitialized variable when successfully retrieving blocksize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/RTFileQuerySectorSize-solaris.cpp

    r85875 r87844  
    6060                AssertReturn(MediaInfo.dki_lbsize > 0, VERR_INVALID_FUNCTION);
    6161                *pcbSector = MediaInfo.dki_lbsize;
    62                 return rc;
     62                return VINF_SUCCESS;
    6363            }
    6464            rc = RTErrConvertFromErrno(errno);
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