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; + } + } diff --git a/sysstat.spec b/sysstat.spec index 8a6f51889e573ceb432bb522af2da2e67231dda2..f52b4a8fee0dcc8da6b7b875942ea18bfb4f1372 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,6 +1,6 @@ Name: sysstat Version: 12.7.5 -Release: 2 +Release: 3 Summary: System performance tools for the Linux operating system License: GPLv2+ URL: http://sebastien.godard.pagesperso-orange.fr/ @@ -88,6 +88,9 @@ fi %{_mandir}/man*/* %changelog +* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 12.7.5-3 +- Fix patch + * Thu Feb 29 2024 zhangliangpengkun - 12.7.5-2 - Fix the incorrect command 'is-enable' to 'is-enabled'.