From c59cdfbd513bfa5e891f82f8fcfcc5aeaac2e1b6 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 16 Aug 2021 12:25:39 +0800 Subject: [PATCH] kernel: rename WouldBlock syscall result This reflects the new naming convention, which is clearer. Signed-off-by: Sean Cross --- kernel/src/syscall.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/syscall.rs b/kernel/src/syscall.rs index 257ffd8a3..3a99101e9 100644 --- a/kernel/src/syscall.rs +++ b/kernel/src/syscall.rs @@ -40,7 +40,7 @@ fn retry_syscall(pid: PID, tid: TID) -> SysCallResult { arch::process::Process::with_current_mut(|p| p.retry_instruction(tid))?; do_yield(pid, tid) } else { - Ok(xous_kernel::Result::WouldBlock) + Ok(xous_kernel::Result::RetryCall) } }