From efa87e05c9958be0abf3738a73f4ee8c485de851 Mon Sep 17 00:00:00 2001 From: markeryang Date: Wed, 30 Mar 2022 17:10:45 +0800 Subject: [PATCH] correcting errors in 0009-path_is_file-should-call-stat-not-lstat.patch --- 0009-path_is_file-should-call-stat-not-lstat.patch | 4 ++-- sysfsutils.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/0009-path_is_file-should-call-stat-not-lstat.patch b/0009-path_is_file-should-call-stat-not-lstat.patch index 53bf872..e1f0d85 100644 --- a/0009-path_is_file-should-call-stat-not-lstat.patch +++ b/0009-path_is_file-should-call-stat-not-lstat.patch @@ -8,10 +8,10 @@ Subject: [PATCH 9/9] path_is_file() should call stat(), not lstat() 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sysfs_utils.c b/lib/sysfs_utils.c -index 4fa10f7..0257ffa 100644 +index 4fa10f7..4261eae 100644 --- a/lib/sysfs_utils.c +++ b/lib/sysfs_utils.c -@@ -293,7 +293,7 @@ int sysfs_path_is_link(const char *path) +@@ -316,7 +316,7 @@ int sysfs_path_is_file(const char *path) errno = EINVAL; return 1; } diff --git a/sysfsutils.spec b/sysfsutils.spec index ecb7568..b2ec51a 100644 --- a/sysfsutils.spec +++ b/sysfsutils.spec @@ -1,6 +1,6 @@ Name: sysfsutils Version: 2.1.0 -Release: 32 +Release: 33 Summary: A set of utilities for interfacing with sysfs License: GPLv2 and LGPLv2+ URL: http://sourceforge.net/projects/linux-diag/ @@ -88,6 +88,9 @@ chrpath -d $(find $RPM_BUILD_ROOT -name systool) %changelog +* Wed Mar 30 2022 yanglongkang - 2.1.0-33 +- correcting errors in 0009-path_is_file-should-call-stat-not-lstat.patch + * Fri Jul 30 2021 chenyanpanHW - 2.1.0-32 - DESC: delete -S git from %autosetup, and delete BuildRequires git