]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: log SMB or RDR in use at startup
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 3 Sep 2011 22:17:21 +0000 (18:17 -0400)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:30:56 +0000 (22:30 -0800)
SMB only in 1.6

Reviewed-on: http://gerrit.openafs.org/5338
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit b861e17c0bc34ea2042879bc705f5d26a7e0a77f)

Change-Id: I67569c2d261a8afbbffbe7777e360139d25c73ca
Reviewed-on: http://gerrit.openafs.org/6804
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc

index 11b0678426e44e0ad580a2112d18bc6d612cacd9..22f203d83c324d9c981ec87d2e77197c9a00fa9a 100644 (file)
@@ -200,7 +200,6 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...)
     case MSG_UNHANDLED_EXCEPTION:
     case MSG_SMB_ZERO_TRANSACTION_COUNT:
     case MSG_SERVICE_INCORRECT_VERSIONS:
-    case MSG_SERVICE_RUNNING:
     case MSG_SERVICE_STOPPING:
     case MSG_SERVICE_STOPPED:
     case MSG_SERVICE_ERROR_STOP:
@@ -211,6 +210,10 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...)
         wNumArgs = 1;
         lpArgs[0] = AFSVersion;
         break;
+    case MSG_SERVICE_RUNNING:
+        wNumArgs = 1;
+        lpArgs[0] = "SMB interface";
+        break;
     case MSG_FLUSH_BAD_SHARE_NAME:
     case MSG_FLUSH_OPEN_ENUM_ERROR:
     case MSG_FLUSH_ENUM_ERROR:
index 0c756af3d5561ac301d5a8c26da5f71600e543bd..31e2a0f7640d480bcd550c1c317ced24f3bd5824 100644 (file)
@@ -276,7 +276,7 @@ Severity=Informational
 Facility=System
 SymbolicName=MSG_SERVICE_RUNNING
 Language=English
-OpenAFS Running.
+OpenAFS Running. %1
 .
 
 MessageId=