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 87eee5faeb6937499569ce24859a418db2e5357f..ffbfc2fbe6705bd4b1211394592d27d04d8576e6 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; + } + }