28 lines
883 B
Diff
28 lines
883 B
Diff
From 4d10d247eb9a40dad9cc30d1fa008020d5ce07a1 Mon Sep 17 00:00:00 2001
|
|
From: renxudong <renxudong1@huawei.com>
|
|
Date: Sun, 11 Aug 2019 01:20:52 -0400
|
|
Subject: [PATCH 8/8] unsquash-4-fix-error-message
|
|
|
|
---
|
|
squashfs-tools/unsquash-4.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/squashfs-tools/unsquash-4.c b/squashfs-tools/unsquash-4.c
|
|
index 211a796..02b5cfc 100644
|
|
--- a/squashfs-tools/unsquash-4.c
|
|
+++ b/squashfs-tools/unsquash-4.c
|
|
@@ -297,8 +297,8 @@ struct dir *squashfs_opendir_4(unsigned int block_start, unsigned int offset,
|
|
bytes = lookup_entry(directory_table_hash, start);
|
|
|
|
if(bytes == -1)
|
|
- EXIT_UNSQUASH("squashfs_opendir: directory block %d not "
|
|
- "found!\n", block_start);
|
|
+ EXIT_UNSQUASH("squashfs_opendir: directory block %lld not "
|
|
+ "found!\n", start);
|
|
|
|
bytes += (*i)->offset;
|
|
size = (*i)->data + bytes - 3;
|
|
--
|
|
1.8.3.1
|
|
|