Fix ucore/matrix.

master
Yuhao Zhou 6 years ago
parent aeea2b569e
commit 4de7713835

@ -64,7 +64,7 @@ main(void) {
cprintf("fork ok.\n");
for (i = 0; i < total; i ++) {
if (wait() != 0) {
if (wait() <= 0) {
cprintf("wait failed.\n");
goto failed;
}

Loading…
Cancel
Save