support clang

This commit is contained in:
Shencb@123 2024-09-01 20:15:29 +08:00
parent 7f9a50572d
commit 7ded4c7ef3
2 changed files with 5 additions and 2 deletions

View File

@ -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;
+ }
+ }

View File

@ -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<zhangliangpengkun@xfusion.com> - 12.7.5-2
- Fix the incorrect command 'is-enable' to 'is-enabled'.