From 91c2efb13f40a1c1db9fb66a8641049d72d1b4f3 Mon Sep 17 00:00:00 2001 From: shen-chenbang <1944340417@qq.com> Date: Sun, 15 Sep 2024 23:14:06 +0800 Subject: [PATCH] 11 --- bugfix-sysstat-10.1.5-read-ttyAMA-first-for-arm64.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugfix-sysstat-10.1.5-read-ttyAMA-first-for-arm64.patch b/bugfix-sysstat-10.1.5-read-ttyAMA-first-for-arm64.patch index 87eee5f..ffbfc2f 100644 --- a/bugfix-sysstat-10.1.5-read-ttyAMA-first-for-arm64.patch +++ b/bugfix-sysstat-10.1.5-read-ttyAMA-first-for-arm64.patch @@ -41,7 +41,7 @@ index 68e2799..8ccfec4 100644 - return 0; + if ((fp = fopen(TTYAMA, "r")) == NULL) { + if ((fp = fopen(SERIAL, "r")) == NULL) { -+ return; ++ return 0; + } + } -- Gitee