src: some xspan cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-01-30 11:03:11 +01:00
parent 43b6ff29e3
commit 0653bb5a72
9 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ void PackVmlinuxBase<T>::pack(OutputFile *fo)
fi->readx(ibuf + ((unsigned) phdri[j].p_paddr - paddr_min), phdri[j].p_filesz);
}
}
checkAlreadyPacked(ibuf + ph.u_len - 1024, 1024);
checkAlreadyPacked(ibuf + (ph.u_len - 1024), 1024);
// prepare filter
ph.filter = 0;