VirtualBox

Changeset 97634 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 21, 2022 3:56:36 PM (2 years ago)
Author:
vboxsync
Message:

Main/ClientWatcher: Resolve signals to strings on non-Windows, to make reading the logs (also for the testboxes) a bit easier [build fix].

File:
1 edited

Legend:

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

    r97633 r97634  
    214214                            break;
    215215                        case RTPROCEXITREASON_SIGNAL:
    216                             LogRel(("Reaper: Pid %d (%x) was signalled: %s (%d / %#x)\n"
    217216#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
    218                                     , pid, pid, "", Status.iStatus, Status.iStatus));
     217                            LogRel(("Reaper: Pid %d (%x) was signalled: (%d / %#x)\n",
     218                                    pid, pid, Status.iStatus, Status.iStatus));
    219219#else
    220                                     , pid, pid, strsignal(Status.iStatus), Status.iStatus, Status.iStatus));
     220                            LogRel(("Reaper: Pid %d (%x) was signalled: %s (%d / %#x)\n",
     221                                    pid, pid, strsignal(Status.iStatus), Status.iStatus, Status.iStatus));
    221222#endif
    222223                            break;
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