From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/tools/testing/selftests/proc/proc-self-syscall.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/tools/testing/selftests/proc/proc-self-syscall.c b/kernel/tools/testing/selftests/proc/proc-self-syscall.c index 7b9018f..8511dcf 100644 --- a/kernel/tools/testing/selftests/proc/proc-self-syscall.c +++ b/kernel/tools/testing/selftests/proc/proc-self-syscall.c @@ -19,7 +19,6 @@ #include <sys/stat.h> #include <fcntl.h> #include <errno.h> -#include <unistd.h> #include <string.h> #include <stdio.h> @@ -38,7 +37,7 @@ fd = open("/proc/self/syscall", O_RDONLY); if (fd == -1) { if (errno == ENOENT) - return 2; + return 4; return 1; } -- Gitblit v1.6.2