From f36a72bf28c0e17080d96c4367aa858cc9c02716 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 19 Mar 2013 16:14:18 -0400 Subject: [PATCH] util: fix dirpath use of clntEtcDir on Windows When commit 9b0a7f5d13115fe5760db16587fe81dd35a5a0ef added the variable 'clntEtcDir' it failed to assign it a value on Windows. Change-Id: I02cfb994a28e3e1032741d1b2710acb5d40d9bfd Reviewed-on: http://gerrit.openafs.org/9635 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear --- src/util/dirpath.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/dirpath.c b/src/util/dirpath.c index 616202144..e4132ac43 100644 --- a/src/util/dirpath.c +++ b/src/util/dirpath.c @@ -225,6 +225,8 @@ initDirPathArray(void) "/NoUsrViceDirectoryOnWindows"); strcpy(dirPathArray[AFSDIR_CLIENT_ETC_DIRPATH_ID], ntClientConfigDirShort); + + clntEtcDir = pathp = dirPathArray[AFSDIR_CLIENT_ETC_DIRPATH_ID]; #else strcpy(dirPathArray[AFSDIR_CLIENT_VICE_DIRPATH_ID], afsClntDirPath); -- 2.39.5