summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2013-09-17 23:24:44 +0800
committerLinquize <linquize@yahoo.com.hk>2013-09-17 23:28:16 +0800
commitf84bc3885327670babbfed1e351036d113fce903 (patch)
treeb5241246ccabe9b77480e83cb4d6264e728aa962 /src/fileops.c
parent92457cad4123c6ee9bc56ce548285e09d06c204c (diff)
downloadlibgit2-f84bc3885327670babbfed1e351036d113fce903.tar.gz
Refactor git_win32__find_system_dirs() to extract "etc\\" as subpath parameter
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c
index 126d45f26..4dfc8a533 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -592,7 +592,7 @@ clean_up:
static int git_futils_guess_system_dirs(git_buf *out)
{
#ifdef GIT_WIN32
- return git_win32__find_system_dirs(out);
+ return git_win32__find_system_dirs(out, L"etc\\");
#else
return git_buf_sets(out, "/etc");
#endif