aboutsummaryrefslogtreecommitdiff
path: root/squashfs-tools
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-02-06 22:05:45 +0000
committerPhillip Lougher <phillip@squashfs.org.uk>2013-02-06 22:05:45 +0000
commit050bcbd2d3ee3e810596bbf1a08d2892ca6a1c90 (patch)
tree73c00ef434262e0183f28bcefbd5fa6c765cf96a /squashfs-tools
parentb16ae9924bbb8440fa860f83762df2a4073c107c (diff)
downloadsquashfs-tools-050bcbd2d3ee3e810596bbf1a08d2892ca6a1c90.tar.gz
mksquashfs: Improve writer lseek error message
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'squashfs-tools')
-rw-r--r--squashfs-tools/mksquashfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index c9db62a..5222daa 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -2607,8 +2607,8 @@ void *writer(void *arg)
pthread_mutex_lock(&pos_mutex);
if(!write_error && lseek(fd, off, SEEK_SET) == -1) {
- ERROR("Lseek on destination failed because %s\n",
- strerror(errno));
+ ERROR("writer: Lseek on destination failed because "
+ "%s, offset=0x%llx\n", strerror(errno), off);
write_error = TRUE;
}