summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch b/meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch
index 3986030667..3d8d645a77 100644
--- a/meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch
+++ b/meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch
@@ -37,7 +37,7 @@ index 40c42bd..88d85ab 100644
37+ int ret,rootdir_len; 37+ int ret,rootdir_len;
38+ 38+
39+ if(rootdir == NULL) { 39+ if(rootdir == NULL) {
40+ return; 40+ return -1;
41+ } 41+ }
42+ 42+
43+ rootdir_len = strlen(rootdir); 43+ rootdir_len = strlen(rootdir);