提交 4246275e 编写于 作者: 褚仕成 提交者: mysterywolf

add "\n" to cat

上级 ee632c21
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册