diff options
| author | 褚仕成 <[email protected]> | 2022-12-15 19:36:05 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2022-12-15 11:34:00 -0500 |
| commit | 4246275e6e6ee5fefa073a4efc61dc2b299898fc (patch) | |
| tree | d3024c6ceaa847de7e1d400aa4667e904d6eeebd /components | |
| parent | ee632c21a8dfdec697e5359ac37a8e3dd80e99a0 (diff) | |
add "\n" to cat
Diffstat (limited to 'components')
| -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 1f6f0d1e29..56a28f5331 100644 --- a/components/dfs/src/dfs_file.c +++ b/components/dfs/src/dfs_file.c @@ -857,6 +857,7 @@ void cat(const char *filename) rt_device_write(out_device, 0, (void *)buffer, sizeof(buffer)); } } while (length > 0); + rt_kprintf("\n"); dfs_file_close(&fd); } |
