Skip to content

Commit

Permalink
fix lab6 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilAlfred committed Dec 9, 2024
1 parent 7096672 commit 81f58d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/lab6.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ int64_t sys_write(unsigned int fd, const char* buf, uint64_t count) {
至此,你已经能够打印出 `stdout` 的输出了。

```plaintext
2023 Hello RISC-V
2024 Hello RISC-V
hello, stdout!
```

Expand All @@ -272,7 +272,7 @@ hello, stdout!
仿照 `stdout` 的输出过程,完成 `stderr` 的写入,让 `nish` 可以正确打印出

```plaintext
2023 Hello RISC-V
2024 Hello RISC-V
hello, stdout!
hello, stderr!
SHELL >
Expand Down Expand Up @@ -548,7 +548,7 @@ int64_t fat32_write(struct file* file, const void* buf, uint64_t len) {
[S] proc_init done!
[S] virtio_blk_init done!
[S] fat32 partition init done!
2023 Hello RISC-V
2024 Hello RISC-V
...
...
hello, stdout!
Expand Down

0 comments on commit 81f58d2

Please sign in to comment.