diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2013-02-06 22:05:45 +0000 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2013-02-06 22:05:45 +0000 |
commit | 050bcbd2d3ee3e810596bbf1a08d2892ca6a1c90 (patch) | |
tree | 73c00ef434262e0183f28bcefbd5fa6c765cf96a /squashfs-tools | |
parent | b16ae9924bbb8440fa860f83762df2a4073c107c (diff) | |
download | squashfs-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.c | 4 |
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; } |