Skip to content

修复了wait4的异常报错#312

Merged
fslongjin merged 2 commits intoDragonOS-Community:masterfrom
chiichen:pipe-fix
Aug 2, 2023
Merged

修复了wait4的异常报错#312
fslongjin merged 2 commits intoDragonOS-Community:masterfrom
chiichen:pipe-fix

Conversation

@chiichen
Copy link
Member

实际上就是多了一个负号导致的错误

use crate::{
arch::asm::current::current_pcb,
include::bindings::bindings::{pid_t, process_do_exit},
kdebug,
Copy link
Member

@fslongjin fslongjin Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里多了一个kdebug,会报warning

删了之后进入kernel文件夹,运行cargo fmt哈

@fslongjin fslongjin merged commit 4da3758 into DragonOS-Community:master Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 通过pipe命令执行 cmd_test中的 shell_pipe_test方法时产生错误

2 participants