Changeset 331 for EcnlProtoTool/trunk/ntshell/fatfs/ff.c
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/fatfs/ff.c
r321 r331 19 19 #include "ff.h" /* Declarations of FatFs API */ 20 20 #include "diskio.h" /* Declarations of disk I/O functions */ 21 21 #include "util/ntstdio.h" 22 #include "shellif.h" 22 23 23 24 /*-------------------------------------------------------------------------- … … 3909 3910 if (dir[DIR_Attr] & AM_DIR) { /* The new object is a directory */ 3910 3911 temp_new_path = (TCHAR *)ff_memalloc((_MAX_LFN + 1) * sizeof(WCHAR)); 3911 snprintf(temp_new_path, _MAX_LFN, "%s/%s", path_new, basename((char *)path_old));3912 ntstdio_snprintf(temp_new_path, _MAX_LFN, "%s/%s", path_new, basename((char *)path_old)); 3912 3913 res = follow_path(&djn, temp_new_path); 3913 3914 }
Note:
See TracChangeset
for help on using the changeset viewer.