Windows: print the value of cm_OfflineROIsValid to afsd_init.log
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 24 Aug 2010 20:40:38 +0000 (16:40 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 6 Sep 2010 03:53:59 +0000 (20:53 -0700)
If we say we are printing the value of cm_OfflineROIsValid,
do so and not cm_deleteReadOnly.

LICENSE MIT

Change-Id: I8b0bc73798feea413f8ce79f9965664fc050ef76
Reviewed-on: http://gerrit.openafs.org/2655
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>

src/WINNT/afsd/afsd_init.c

index 854624a..80d3914 100644 (file)
@@ -1229,7 +1229,7 @@ afsd_InitCM(char **reasonP)
     if (code == ERROR_SUCCESS) {
         cm_OfflineROIsValid = (unsigned short) dwValue;
     } 
-    afsi_log("CM OfflineReadOnlyIsValid is %u", cm_deleteReadOnly);
+    afsi_log("CM OfflineReadOnlyIsValid is %u", cm_OfflineROIsValid);
     
     dummyLen = sizeof(DWORD);
     code = RegQueryValueEx(parmKey, "GiveUpAllCallBacks", NULL, NULL,