summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 13:27:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 13:27:04 +0200
commit3b47afacf5d6443b3460cd979abfff6c71a4ec3d (patch)
treeda66604611c937c0498eb167b9506b54d7df437e /lib
parenta68eb730558fb90bc8d9524564d8f9e58f3ccac1 (diff)
Fix spelling of "align"
Before the misspelled version has a chance to become stable API. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/sqfs/data_writer/block.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqfs/data_writer/block.c b/lib/sqfs/data_writer/block.c
index 01e1387..13c62a2 100644
--- a/lib/sqfs/data_writer/block.c
+++ b/lib/sqfs/data_writer/block.c
@@ -50,7 +50,7 @@ static size_t deduplicate_blocks(sqfs_data_writer_t *proc, size_t count)
return i;
}
-static int allign_file(sqfs_data_writer_t *proc, sqfs_block_t *blk)
+static int align_file(sqfs_data_writer_t *proc, sqfs_block_t *blk)
{
sqfs_u32 chksum;
void *padding;
@@ -58,7 +58,7 @@ static int allign_file(sqfs_data_writer_t *proc, sqfs_block_t *blk)
size_t diff;
int ret;
- if (!(blk->flags & SQFS_BLK_ALLIGN))
+ if (!(blk->flags & SQFS_BLK_ALIGN))
return 0;
size = proc->file->get_size(proc->file);
@@ -98,7 +98,7 @@ int process_completed_block(sqfs_data_writer_t *proc, sqfs_block_t *blk)
proc->start = proc->file->get_size(proc->file);
proc->file_start = proc->num_blocks;
- err = allign_file(proc, blk);
+ err = align_file(proc, blk);
if (err)
return err;
}
@@ -134,7 +134,7 @@ int process_completed_block(sqfs_data_writer_t *proc, sqfs_block_t *blk)
}
if (blk->flags & SQFS_BLK_LAST_BLOCK) {
- err = allign_file(proc, blk);
+ err = align_file(proc, blk);
if (err)
return err;