mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
Windows: Add version number to event log start pending message
LICENSE MIT Change-Id: I6a2eca99cf1db9792eb76b04adbc87c4b64aa483 Reviewed-on: http://gerrit.openafs.org/3034 Reviewed-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
f943a4eb52
commit
b743b32b8b
@ -14,6 +14,8 @@
|
|||||||
#include <WINNT/afsreg.h>
|
#include <WINNT/afsreg.h>
|
||||||
#include "afsd.h"
|
#include "afsd.h"
|
||||||
#include "afsd_eventlog.h"
|
#include "afsd_eventlog.h"
|
||||||
|
#define AFS_VERSION_STRINGS
|
||||||
|
#include "afs_component_version_number.h"
|
||||||
|
|
||||||
static BOOL GetServicePath(LPTSTR lpPathBuf, PDWORD pdwPathBufSize);
|
static BOOL GetServicePath(LPTSTR lpPathBuf, PDWORD pdwPathBufSize);
|
||||||
static BOOL AddEventSource(void);
|
static BOOL AddEventSource(void);
|
||||||
@ -197,7 +199,6 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...)
|
|||||||
case MSG_FLUSH_UNEXPECTED_EVENT:
|
case MSG_FLUSH_UNEXPECTED_EVENT:
|
||||||
case MSG_UNHANDLED_EXCEPTION:
|
case MSG_UNHANDLED_EXCEPTION:
|
||||||
case MSG_SMB_ZERO_TRANSACTION_COUNT:
|
case MSG_SMB_ZERO_TRANSACTION_COUNT:
|
||||||
case MSG_SERVICE_START_PENDING:
|
|
||||||
case MSG_SERVICE_INCORRECT_VERSIONS:
|
case MSG_SERVICE_INCORRECT_VERSIONS:
|
||||||
case MSG_SERVICE_RUNNING:
|
case MSG_SERVICE_RUNNING:
|
||||||
case MSG_SERVICE_STOPPING:
|
case MSG_SERVICE_STOPPING:
|
||||||
@ -205,6 +206,10 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...)
|
|||||||
case MSG_CRYPT_OFF:
|
case MSG_CRYPT_OFF:
|
||||||
case MSG_CRYPT_ON:
|
case MSG_CRYPT_ON:
|
||||||
break;
|
break;
|
||||||
|
case MSG_SERVICE_START_PENDING:
|
||||||
|
wNumArgs = 1;
|
||||||
|
lpArgs[0] = AFSVersion;
|
||||||
|
break;
|
||||||
case MSG_FLUSH_BAD_SHARE_NAME:
|
case MSG_FLUSH_BAD_SHARE_NAME:
|
||||||
case MSG_FLUSH_OPEN_ENUM_ERROR:
|
case MSG_FLUSH_OPEN_ENUM_ERROR:
|
||||||
case MSG_FLUSH_ENUM_ERROR:
|
case MSG_FLUSH_ENUM_ERROR:
|
||||||
|
@ -260,7 +260,7 @@ Severity=Informational
|
|||||||
Facility=System
|
Facility=System
|
||||||
SymbolicName=MSG_SERVICE_START_PENDING
|
SymbolicName=MSG_SERVICE_START_PENDING
|
||||||
Language=English
|
Language=English
|
||||||
OpenAFS Start Pending.
|
OpenAFS Start Pending. Version %1.
|
||||||
.
|
.
|
||||||
|
|
||||||
MessageId=
|
MessageId=
|
||||||
|
Loading…
Reference in New Issue
Block a user