summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-02-21 16:33:24 +1100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-22 21:45:33 +0100
commit11b211cf989ab3f6d4d3aa352e3fc8163ea09d72 (patch)
tree4749be16c4c68691b17b7a7257c1f8e041169500
parent7863bb1511aac0234d1beb48f8163bbc67fc2588 (diff)
downloadsamba-11b211cf989ab3f6d4d3aa352e3fc8163ea09d72.tar.gz
samba-11b211cf989ab3f6d4d3aa352e3fc8163ea09d72.tar.bz2
samba-11b211cf989ab3f6d4d3aa352e3fc8163ea09d72.zip
Spelling fixes for lib/compression.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
-rw-r--r--lib/compression/lzxpress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compression/lzxpress.c b/lib/compression/lzxpress.c
index 0abbfc4d3d..26b1bd5052 100644
--- a/lib/compression/lzxpress.c
+++ b/lib/compression/lzxpress.c
@@ -155,7 +155,7 @@ ssize_t lzxpress_compress(const uint8_t *uncompressed,
compressed[nibble_index] |= (15 * 16);
}
- /* Additionnal best_len */
+ /* Additional best_len */
compressed[compressed_pos + metadata_size] = (best_len - (3 + 7 + 15)) & 0xFF;
metadata_size += sizeof(uint8_t);
} else {
@@ -167,7 +167,7 @@ ssize_t lzxpress_compress(const uint8_t *uncompressed,
compressed[nibble_index] |= 15 << 4;
}
- /* Additionnal best_len */
+ /* Additional best_len */
compressed[compressed_pos + metadata_size] = 255;
metadata_size += sizeof(uint8_t);