summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorAdam Buchbinder <abuchbinder@google.com>2017-07-13 00:10:13 +0200
committerDavid Sterba <dsterba@suse.com>2017-07-20 17:43:43 +0200
commite800b9b5da433ab6c8dbbb4c9f41ba8998c51a32 (patch)
tree1671556d26084bdc739f51a0165a5c10bac6e9b3 /image
parent76daaec5ccbda11f6cd343f85f6f47a56626fe00 (diff)
btrfs-progs: image: fix typos in messages
Signed-off-by: Adam Buchbinder <abuchbinder@google.com> [ separated from the previous patch ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'image')
-rw-r--r--image/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/image/main.c b/image/main.c
index 2100f204..80588e81 100644
--- a/image/main.c
+++ b/image/main.c
@@ -1728,7 +1728,7 @@ static void *restore_worker(void *data)
async->buffer, async->bufsize);
pthread_mutex_lock(&mdres->mutex);
if (ret != Z_OK) {
- error("decompressiion failed with %d", ret);
+ error("decompression failed with %d", ret);
err = -EIO;
}
outbuf = buffer;
@@ -1904,7 +1904,7 @@ static int fill_mdres_info(struct mdrestore_struct *mdres,
ret = uncompress(buffer, (unsigned long *)&size,
async->buffer, async->bufsize);
if (ret != Z_OK) {
- error("decompressiion failed with %d", ret);
+ error("decompression failed with %d", ret);
free(buffer);
return -EIO;
}
@@ -2178,7 +2178,7 @@ static int search_for_chunk_blocks(struct mdrestore_struct *mdres,
continue;
}
error(
- "unknown state after reading cluster at %llu, probably crrupted data",
+ "unknown state after reading cluster at %llu, probably corrupted data",
cluster_bytenr);
ret = -EIO;
break;
@@ -2227,7 +2227,7 @@ static int search_for_chunk_blocks(struct mdrestore_struct *mdres,
(unsigned long *)&size, tmp,
bufsize);
if (ret != Z_OK) {
- error("decompressiion failed with %d",
+ error("decompression failed with %d",
ret);
ret = -EIO;
break;
@@ -2347,7 +2347,7 @@ static int build_chunk_tree(struct mdrestore_struct *mdres,
ret = uncompress(tmp, (unsigned long *)&size,
buffer, le32_to_cpu(item->size));
if (ret != Z_OK) {
- error("decompressiion failed with %d", ret);
+ error("decompression failed with %d", ret);
free(buffer);
free(tmp);
return -EIO;