summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/cramfs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/cramfs.patch b/sources/cramfs.patch
index 1f6f01556..884eb8cb8 100644
--- a/sources/cramfs.patch
+++ b/sources/cramfs.patch
@@ -828,7 +828,7 @@
+ /* Looks like we found a parent of the correct path */
+ if (name[len] == '/') {
+ if (e->child) {
-+ return (find_filesystem_entry (e, name, type));
++ return (find_filesystem_entry (e, name + len + 1, type));
+ } else {
+ return NULL;
+ }