!98 修改patch中缺少返回值
From: @shen-chenbang Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
1a8ad28eb3
@ -41,7 +41,7 @@ index 68e2799..8ccfec4 100644
|
|||||||
- return 0;
|
- return 0;
|
||||||
+ if ((fp = fopen(TTYAMA, "r")) == NULL) {
|
+ if ((fp = fopen(TTYAMA, "r")) == NULL) {
|
||||||
+ if ((fp = fopen(SERIAL, "r")) == NULL) {
|
+ if ((fp = fopen(SERIAL, "r")) == NULL) {
|
||||||
+ return;
|
+ return 0;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: sysstat
|
Name: sysstat
|
||||||
Version: 12.7.5
|
Version: 12.7.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: System performance tools for the Linux operating system
|
Summary: System performance tools for the Linux operating system
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sebastien.godard.pagesperso-orange.fr/
|
URL: http://sebastien.godard.pagesperso-orange.fr/
|
||||||
@ -88,6 +88,9 @@ fi
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 29 2024 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 12.7.5-2
|
||||||
- Fix the incorrect command 'is-enable' to 'is-enabled'.
|
- Fix the incorrect command 'is-enable' to 'is-enabled'.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user