VirtualBox

Changeset 24506 in vbox


Ignore:
Timestamp:
Nov 9, 2009 2:24:01 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService: Fixed UTMP enumeration return value on OpenSolaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r24383 r24506  
    243243        utmp* ut_user;
    244244        rc = utmpname(UTMP_FILE);
     245 #ifdef RT_OS_SOLARIS
     246        if (rc == 0)
     247 #else
    245248        if (rc != 0)
    246         {
    247             VBoxServiceError("Could not set UTMP file! Error: %ld", errno);
     249 #endif /* !RT_OS_SOLARIS */
     250        {
     251            VBoxServiceError("Could not set UTMP file! Error: %ld\n", errno);
    248252        }
    249253        setutent();
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