Simu getpwd problem

This commit is contained in:
bsongis@gmail.com
2013-07-05 20:05:44 +00:00
parent 7ef4fc4594
commit 2b3fe0f752
+1 -1
View File
@@ -597,7 +597,7 @@ int f_printf (FIL *fil, const TCHAR * format, ...)
FRESULT f_getcwd (TCHAR *path, UINT sz_path) FRESULT f_getcwd (TCHAR *path, UINT sz_path)
{ {
getcwd(path, sz_path); strcpy(path, ".");
return FR_OK; return FR_OK;
} }