[dfs] cat命令执行后增加\n 与linux行为一致

This commit is contained in:
Meco Man
2021-03-21 02:03:45 +08:00
parent 061182271f
commit b7bfa04c06

View File

@@ -615,6 +615,7 @@ void cat(const char *filename)
}
}
while (length > 0);
rt_kprintf("\n");
dfs_file_close(&fd);
}