winnt-dont-display-ibm-legal-message-20040326
[openafs.git] / src / WINNT / bosctlsvc / bosctlsvc.c
index 6188cbc..d2fd605 100644 (file)
@@ -233,14 +233,14 @@ BosCtlMain(DWORD argc, LPTSTR *argv)
     if ((bosCtlEvent[BOS_STOP_EVENT] = CreateEvent(NULL,
                                                   FALSE /* manual reset */,
                                                   FALSE /* initial state */,
-                                                  NULL)) == NULL) {
+                                                  TEXT("BosCtlSvc Stop Event"))) == NULL) {
        status = GetLastError();
     }
 
     if ((bosCtlEvent[BOS_EXIT_EVENT] = CreateEvent(NULL,
                                                   FALSE /* manual reset */,
                                                   FALSE /* initial state */,
-                                                  NULL)) == NULL) {
+                                                  TEXT("BosCtlSvc Exit Event"))) == NULL) {
        status = GetLastError();
     }
 
@@ -452,7 +452,7 @@ BosserverRun(DWORD argc,
     char **spawn_argv;
 
     /* Display bosserver startup (legal) message; first start only */
-    BosserverStartupMsgDisplay();
+    /* BosserverStartupMsgDisplay(); */
 
     /* Set env variable forcing process mgmt lib to spawn processes detached */
     (void)putenv(PMGT_SPAWN_DETACHED_ENV_NAME "=1");