ruh roh
This commit is contained in:
parent
c0eaf1ea3c
commit
b79717e848
@ -161,7 +161,7 @@ bool fileCopy(const char *pathSrc, const char *pathDst, bool replace, void *tmpB
|
|||||||
{
|
{
|
||||||
char path[FF_MAX_LFN + 1];
|
char path[FF_MAX_LFN + 1];
|
||||||
strncpy(path, pathDst, c - pathDst);
|
strncpy(path, pathDst, c - pathDst);
|
||||||
path[FF_MAX_LFN] = '\0';
|
path[c - pathDst] = '\0';
|
||||||
res = f_mkdir(path);
|
res = f_mkdir(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user