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 1f4b1358ed705ee26a6c1745a157210825714637..cb3de3fefd0c26509be9c18918d83c7a38734cb8 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,6 +1,6 @@ Name: sysstat Version: 12.7.6 -Release: 1 +Release: 2 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.6-2 +- Fix incorrect patch + * Thu Aug 15 2024 maqi - 12.7.6-1 - update to 12.7.6