diff options
Diffstat (limited to 'include/sqfs')
| -rw-r--r-- | include/sqfs/block.h | 4 | ||||
| -rw-r--r-- | include/sqfs/data_writer.h | 6 | ||||
| -rw-r--r-- | include/sqfs/meta_reader.h | 2 | ||||
| -rw-r--r-- | include/sqfs/meta_writer.h | 2 | 
4 files changed, 7 insertions, 7 deletions
| diff --git a/include/sqfs/block.h b/include/sqfs/block.h index 7ee3bcb..b37cdd5 100644 --- a/include/sqfs/block.h +++ b/include/sqfs/block.h @@ -73,12 +73,12 @@ typedef enum {  	SQFS_BLK_DONT_COMPRESS = 0x0001,  	/** -	 * @brief Allign the block on disk to device block size. +	 * @brief Align the block on disk to device block size.  	 *  	 * If set, the @ref sqfs_data_writer_t will add padding before the  	 * first block of the affected file and after the last block.  	 */ -	SQFS_BLK_ALLIGN = 0x0002, +	SQFS_BLK_ALIGN = 0x0002,  	/**  	 * @brief Don't add the tail end of a file to a fragment block. diff --git a/include/sqfs/data_writer.h b/include/sqfs/data_writer.h index 4623493..7b6ee0f 100644 --- a/include/sqfs/data_writer.h +++ b/include/sqfs/data_writer.h @@ -74,7 +74,7 @@ struct sqfs_block_hooks_t {  	 * @brief Gets called before writing a block to disk.  	 *  	 * If this is not NULL, it gets called before a block is written to -	 * disk. If the block has the @ref SQFS_BLK_ALLIGN flag set, the +	 * disk. If the block has the @ref SQFS_BLK_ALIGN flag set, the  	 * function is called before padding the file.  	 *  	 * The function may modify the block itself or write data to the file. @@ -91,7 +91,7 @@ struct sqfs_block_hooks_t {  	 * @brief Gets called after writing a block to disk.  	 *  	 * If this is not NULL, it gets called after a block is written to -	 * disk. If the block has the @ref SQFS_BLK_ALLIGN flag set, the +	 * disk. If the block has the @ref SQFS_BLK_ALIGN flag set, the  	 * function is called before padding the file.  	 *  	 * Modifying the block is rather pointless, but the function may @@ -167,7 +167,7 @@ extern "C" {   *                    trying to add more, enqueueing blocks until the in-flight   *                    block count drops below the threshold.   * @param devblksz File can optionally be allgined to device block size. This - *                 specifies the desired allignment. + *                 specifies the desired alignment.   * @param file The output file to write the finished blocks to.   *   * @return A pointer to a data writer object on success, NULL on allocation diff --git a/include/sqfs/meta_reader.h b/include/sqfs/meta_reader.h index e720006..e2203de 100644 --- a/include/sqfs/meta_reader.h +++ b/include/sqfs/meta_reader.h @@ -37,7 +37,7 @@   * that are written to disk with a small header indicating the on-disk   * size and whether it is compressed or not.   * - * Data written to meta data blocks doesn't have to be alligned, i.e. + * Data written to meta data blocks doesn't have to be aligned, i.e.   * SquashFS doesn't care if an object is written across two blocks.   *   * The main task of the meta data read is to provide a simple read and seek diff --git a/include/sqfs/meta_writer.h b/include/sqfs/meta_writer.h index 8425e94..21842fb 100644 --- a/include/sqfs/meta_writer.h +++ b/include/sqfs/meta_writer.h @@ -38,7 +38,7 @@   * that are written to disk with a small header indicating the on-disk   * size and whether it is compressed or not.   * - * Data written to meta data blocks doesn't have to be alligned, i.e. + * Data written to meta data blocks doesn't have to be aligned, i.e.   * SquashFS doesn't care if an object is written across two blocks.   *   * The main task of the meta data writer is to provide a simple append | 
