From 7e4a96fcdf68a0c39b3c981bb6f60413061c79c4 Mon Sep 17 00:00:00 2001 From: LI Qing Date: Fri, 26 May 2023 15:59:08 +0800 Subject: [PATCH] Fix the invalid fd for F_GETFL and F_SETFL --- services/libs/jinux-std/src/syscall/fcntl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/libs/jinux-std/src/syscall/fcntl.rs b/services/libs/jinux-std/src/syscall/fcntl.rs index fefbdd2b5..0df68ca58 100644 --- a/services/libs/jinux-std/src/syscall/fcntl.rs +++ b/services/libs/jinux-std/src/syscall/fcntl.rs @@ -28,7 +28,7 @@ pub fn sys_fcntl(fd: FileDescripter, cmd: i32, arg: u64) -> Result Result