mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
Merge pull request #120 from prife/dfs-fix
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
This commit is contained in:
@@ -599,7 +599,7 @@ void copy(const char *src, const char *dst)
|
||||
{
|
||||
struct dfs_fd src_fd;
|
||||
rt_uint8_t *block_ptr;
|
||||
rt_uint32_t read_bytes;
|
||||
rt_int32_t read_bytes;
|
||||
|
||||
block_ptr = rt_malloc(BUF_SZ);
|
||||
if (block_ptr == RT_NULL)
|
||||
|
||||
Reference in New Issue
Block a user