From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 08:20:59 +0000
Subject: [PATCH] kernel_5.10 no 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