Changeset 26665 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Feb 19, 2010 3:18:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/RTSystemQueryDmiString-solaris.cpp
r26660 r26665 41 41 42 42 #include <smbios.h> 43 #include <errno.h> 43 44 44 45 … … 55 56 if (pSMB) 56 57 { 57 if (enmString == RTSYSDMISTR_PRODUCT_UUID) 58 smbios_system_t hSMBSys; 59 id_t hSMBId = smbios_info_system(pSMB, &hSMBSys); 60 if (hSMBId != SMB_ERR) 58 61 { 59 smbios_system_t hSMBSys; 60 id_t hSMBId = smbios_info_system(pSMB, &hSMBSys); 61 if (hSMBId != SMB_ERR) 62 /* Don't need the common bits for the product UUID. */ 63 if (enmString == RTSYSDMISTR_PRODUCT_UUID) 62 64 { 63 65 static char const s_szHex[17] = "0123456789ABCDEF"; … … 77 79 return rc; 78 80 } 79 } 80 else 81 { 81 82 82 smbios_info_t hSMBInfo; 83 83 id_t hSMBInfoId = smbios_info_common(pSMB, hSMBId, &hSMBInfo);
Note:
See TracChangeset
for help on using the changeset viewer.