VirtualBox

Changeset 106172 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 27, 2024 11:12:37 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164956
Message:

Add/Nt/Shfl: Add product version and revision to the early release logging in DriverEntry to help tell what's being loaded. bugref:10766

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.cpp

    r106061 r106172  
    3131*********************************************************************************************************************************/
    3232#include "vbsf.h"
     33#include <iprt/buildconfig.h>
    3334#include <iprt/initterm.h>
    3435#include <iprt/dbg.h>
     
    16821683                }
    16831684                VbglR0SfHostReqQueryFeaturesSimple(&g_fSfFeatures, &g_uSfLastFunction);
    1684                 LogRel(("VBoxSF: g_fHostFeatures=%#x g_fSfFeatures=%#RX64 g_uSfLastFunction=%u\n",
    1685                         g_fHostFeatures, g_fSfFeatures, g_uSfLastFunction));
     1685                LogRel(("VBoxSF: %s r%s g_fHostFeatures=%#x g_fSfFeatures=%#RX64 g_uSfLastFunction=%u\n",
     1686                        RTBldCfgVersion(), RTBldCfgRevisionStr(), g_fHostFeatures, g_fSfFeatures, g_uSfLastFunction));
    16861687
    16871688                if (VbglR0CanUsePhysPageList())
     
    18241825            }
    18251826            else
    1826                 LogRel(("VBOXSF: DriverEntry: Failed to connect to the host: %Rrc!\n", vrc));
     1827                LogRel(("VBOXSF: DriverEntry: Failed to connect to the host: %Rrc! (%s r%s)\n",
     1828                        vrc, RTBldCfgVersion(), RTBldCfgRevisionStr()));
    18271829            VbglR0SfTerm();
    18281830        }
    18291831        else
    1830             LogRel(("VBOXSF: DriverEntry: VbglR0SfInit! %Rrc!\n", vrc));
     1832            LogRel(("VBOXSF: DriverEntry: VbglR0SfInit! %Rrc! (%s r%s)\n", vrc, RTBldCfgVersion(), RTBldCfgRevisionStr()));
    18311833        RTR0Term();
    18321834    }
    18331835    else
    1834         RTLogRelPrintf("VBOXSF: DriverEntry: RTR0Init failed! %Rrc!\n", vrc);
     1836        RTLogRelPrintf("VBOXSF: DriverEntry: RTR0Init failed! %Rrc! (%s r%s)\n", vrc, RTBldCfgVersion(), RTBldCfgRevisionStr());
    18351837    return rcNt;
    18361838}
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