aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-06-09 06:16:50 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-06-09 06:16:50 -0400
commit536b893e159259c8cd7ed0b196343ad60e0e4579 (patch)
treefbcd0b4350bec49181c507ae712e5e538acb82f0
parent8a00e49608ff73a18ef6269a828bf5be96a1cfe3 (diff)
downloadsyslinux-536b893e159259c8cd7ed0b196343ad60e0e4579.tar.gz
syslinux-536b893e159259c8cd7ed0b196343ad60e0e4579.tar.xz
syslinux-536b893e159259c8cd7ed0b196343ad60e0e4579.zip
core/fs/pxe/dhcp_option: comment spelling
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--core/fs/pxe/dhcp_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/pxe/dhcp_option.c b/core/fs/pxe/dhcp_option.c
index 1fdcc705..8a0dee3b 100644
--- a/core/fs/pxe/dhcp_option.c
+++ b/core/fs/pxe/dhcp_option.c
@@ -183,7 +183,7 @@ void parse_dhcp_options(const void *option, int size, uint8_t opt_filter)
break;
/* Anything else will have a length field */
- opt_len = *p++; /* c <- option lenght */
+ opt_len = *p++; /* c <- option length */
size -= opt_len + 1;
if (size < 0)
break;