summaryrefslogtreecommitdiffstats
path: root/src/crypto/deflate.c
diff options
context:
space:
mode:
authorDaniel Johnson2020-07-21 07:20:43 +0200
committerMichael Brown2020-07-21 16:59:04 +0200
commit8bc85ec6fa3562e141f5d09a8788aca92877e784 (patch)
treeb6874bce4a985f2f5a63f3d2f3d53d6c441f54ca /src/crypto/deflate.c
parent[build] Fix a GNUism that FreeBSD's sed(1) cannot deal with (diff)
downloadipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.tar.gz
ipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.tar.xz
ipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.zip
[deflate] Fix typo in comment describing length codes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/deflate.c')
-rw-r--r--src/crypto/deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/deflate.c b/src/crypto/deflate.c
index e1c87d5fe..7ad39ec1b 100644
--- a/src/crypto/deflate.c
+++ b/src/crypto/deflate.c
@@ -56,7 +56,7 @@ static uint8_t deflate_reverse[256];
* does not fit the pattern (it represents a length of 258; following
* the pattern from the earlier codes would give a length of 259), and
* has no extra bits. Codes 286-287 are invalid, but can occur. We
- * treat any code greater than 284 as meaning "length 285, no extra
+ * treat any code greater than 284 as meaning "length 258, no extra
* bits".
*/
static uint8_t deflate_litlen_base[28];