diff --git a/reactos/boot/environ/lib/misc/util.c b/reactos/boot/environ/lib/misc/util.c index 3e152d3dc07..c7ca31ab740 100644 --- a/reactos/boot/environ/lib/misc/util.c +++ b/reactos/boot/environ/lib/misc/util.c @@ -749,7 +749,7 @@ BlUtlCheckSum ( } } - if (Length != Length) + if (i != Length) { PartialSum += (unsigned __int8)Buffer[Length]; if (Flags & BL_UTL_CHECKSUM_COMPLEMENT)