From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- 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