VirtualBox

Changeset 19648 in vbox


Ignore:
Timestamp:
May 13, 2009 9:05:14 AM (16 years ago)
Author:
vboxsync
Message:

log the name of the executable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r19300 r19648  
    42714271            RTLogRelLogger(loggerRelease, 0, ~0U, "OS Service Pack: %s\n", szTmp);
    42724272        /* the package type is interesting for Linux distributions */
     4273        char szExecName[RTPATH_MAX];
     4274        char *pszExecName = RTProcGetExecutableName(szExecName, sizeof(szExecName));
    42734275        RTLogRelLogger(loggerRelease, 0, ~0U,
     4276                       "Executable: %s\n"
    42744277                       "Process ID: %u\n"
    42754278                       "Package type: %s"
     
    42784281#endif
    42794282                       "\n",
     4283                       pszExecName ? pszExecName : "unknown",
    42804284                       RTProcSelf(),
    42814285                       VBOX_PACKAGE_STRING);
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