]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-freelance-default-root-cell-20041217
authorJeffrey Altman <jaltman@mit.edu>
Thu, 16 Dec 2004 19:02:05 +0000 (19:02 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 16 Dec 2004 19:02:05 +0000 (19:02 +0000)
Forgot to add trailing dot on auto-generated default root.cell mountpoints.

src/WINNT/afsd/cm_freelance.c

index 28ee45f8b50b745e08a554b72451e566ba98b996..a2b8c5f8a89659d65a15fcbc7829e04af3a885f6 100644 (file)
@@ -477,8 +477,8 @@ long cm_InitLocalMountPoints() {
             rootCellName[0] = '.';
             code = cm_GetRootCellName(&rootCellName[1]);
             if (code == 0) {
-                cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell", 0, NULL);
-                cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell", 1, NULL);
+                cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell.", 0, NULL);
+                cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell.", 1, NULL);
                 dwMountPoints = 2;
             }
         }
@@ -660,8 +660,8 @@ long cm_InitLocalMountPoints() {
         rootCellName[0] = '.';
        code = cm_GetRootCellName(&rootCellName[1]);
         if (code == 0) {
-            cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell", 0, NULL);
-            cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell", 1, NULL);
+            cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell.", 0, NULL);
+            cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell.", 1, NULL);
         }
         return 0;
     }