diff options
| author | Bernard Xiong <[email protected]> | 2021-03-22 09:24:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-22 09:24:50 +0800 |
| commit | a7da2794b2e5f75f318fc24f21c8754d2205070d (patch) | |
| tree | e184af17f749e47eb375325d9c7646a0548b6848 | |
| parent | de1d079ecefe18caefa1bce500862ae729433d88 (diff) | |
| parent | b7bfa04c0649ab83c570826ab0b05257652d3fc1 (diff) | |
Merge pull request #4493 from mysterywolf/dfs_file
[dfs] cat命令执行后增加\n 与linux行为一致
| -rw-r--r-- | components/dfs/src/dfs_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c index aa6494457a..802311b54e 100644 --- a/components/dfs/src/dfs_file.c +++ b/components/dfs/src/dfs_file.c @@ -615,6 +615,7 @@ void cat(const char *filename) } } while (length > 0); + rt_kprintf("\n"); dfs_file_close(&fd); } |
