VirtualBox

Ignore:
Timestamp:
Jan 24, 2023 3:32:43 PM (2 years ago)
Author:
vboxsync
Message:

Main/src-server: rc -> hrc/vrc (partial). bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/HostPowerLinux.cpp

    r98103 r98288  
    5959{
    6060    DBusError error;
    61     int rc;
    6261
    63     rc = RTDBusLoadLib();
    64     if (RT_FAILURE(rc))
     62    int vrc = RTDBusLoadLib();
     63    if (RT_FAILURE(vrc))
    6564    {
    6665        LogRel(("HostPowerServiceLinux: DBus library not found.  Service not available.\n"));
     
    9291
    9392    /* Create the new worker thread. */
    94     rc = RTThreadCreate(&mThread, HostPowerServiceLinux::powerChangeNotificationThread, this, 0 /* cbStack */,
    95                         RTTHREADTYPE_MSG_PUMP, RTTHREADFLAGS_WAITABLE, "MainPower");
    96     if (RT_FAILURE(rc))
     93    vrc = RTThreadCreate(&mThread, HostPowerServiceLinux::powerChangeNotificationThread, this, 0 /* cbStack */,
     94                         RTTHREADTYPE_MSG_PUMP, RTTHREADFLAGS_WAITABLE, "MainPower");
     95    if (RT_FAILURE(vrc))
    9796    {
    98         LogRel(("HostPowerServiceLinux: RTThreadCreate failed with %Rrc\n", rc));
     97        LogRel(("HostPowerServiceLinux: RTThreadCreate failed with %Rrc\n", vrc));
    9998        dbus_connection_unref(mpConnection);
    10099    }
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