summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libinstaller/syslxmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
index 0ec41641..7bf4d912 100644
--- a/libinstaller/syslxmod.c
+++ b/libinstaller/syslxmod.c
@@ -41,7 +41,8 @@ static void generate_extents(struct syslinux_extent _slimg *ex, int nptrs,
unsigned int len;
base = addr;
- len = lba = 0;
+ len = 0;
+ lba = 0;
memset_sl(ex, 0, nptrs * sizeof *ex);