VirtualBox

Changeset 26665 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Feb 19, 2010 3:18:49 PM (15 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

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

    r26660 r26665  
    4141
    4242#include <smbios.h>
     43#include <errno.h>
    4344
    4445
     
    5556    if (pSMB)
    5657    {
    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)
    5861        {
    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)
    6264            {
    6365                static char const s_szHex[17] = "0123456789ABCDEF";
     
    7779                return rc;
    7880            }
    79         }
    80         else
    81         {
     81
    8282            smbios_info_t hSMBInfo;
    8383            id_t hSMBInfoId = smbios_info_common(pSMB, hSMBId, &hSMBInfo);
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