summaryrefslogtreecommitdiff
path: root/os-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'os-win.c')
-rw-r--r--os-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os-win.c b/os-win.c
index 1d0f21e..a32215a 100644
--- a/os-win.c
+++ b/os-win.c
@@ -98,7 +98,7 @@ int fs_mkdir(const char *path) {
}
}
-int fs_get_cwd(char *buf, size_t buflen) {
+int os_get_cwd(char *buf, size_t buflen) {
assert(buf && buflen);
wchar_t wide_path[4100];
DWORD wide_pathlen = GetCurrentDirectoryW(sizeof wide_path - 1, wide_path);