mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
add "\n" to cat
This commit is contained in:
committed by
Man, Jianting (Meco)
parent
ee632c21a8
commit
4246275e6e
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user