diff --git a/src/WINNT/afsd/afsd_eventlog.c b/src/WINNT/afsd/afsd_eventlog.c index 0709246b76..3be9702108 100644 --- a/src/WINNT/afsd/afsd_eventlog.c +++ b/src/WINNT/afsd/afsd_eventlog.c @@ -14,6 +14,8 @@ #include #include "afsd.h" #include "afsd_eventlog.h" +#define AFS_VERSION_STRINGS +#include "afs_component_version_number.h" static BOOL GetServicePath(LPTSTR lpPathBuf, PDWORD pdwPathBufSize); static BOOL AddEventSource(void); @@ -197,7 +199,6 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...) case MSG_FLUSH_UNEXPECTED_EVENT: case MSG_UNHANDLED_EXCEPTION: case MSG_SMB_ZERO_TRANSACTION_COUNT: - case MSG_SERVICE_START_PENDING: case MSG_SERVICE_INCORRECT_VERSIONS: case MSG_SERVICE_RUNNING: case MSG_SERVICE_STOPPING: @@ -205,6 +206,10 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...) case MSG_CRYPT_OFF: case MSG_CRYPT_ON: break; + case MSG_SERVICE_START_PENDING: + wNumArgs = 1; + lpArgs[0] = AFSVersion; + break; case MSG_FLUSH_BAD_SHARE_NAME: case MSG_FLUSH_OPEN_ENUM_ERROR: case MSG_FLUSH_ENUM_ERROR: diff --git a/src/WINNT/afsd/afsd_eventmessages.mc b/src/WINNT/afsd/afsd_eventmessages.mc index 9e714a6dec..8ad0077c91 100644 --- a/src/WINNT/afsd/afsd_eventmessages.mc +++ b/src/WINNT/afsd/afsd_eventmessages.mc @@ -260,7 +260,7 @@ Severity=Informational Facility=System SymbolicName=MSG_SERVICE_START_PENDING Language=English -OpenAFS Start Pending. +OpenAFS Start Pending. Version %1. . MessageId=