git: boot loader: Improve code of elf header initialization

John Marino marino at crater.dragonflybsd.org
Sat Nov 14 05:29:19 PST 2015


commit 19976c5f53779a31cb1b85080b4162443d3034d0
Author: John Marino <draco at marino.st>
Date:   Sat Nov 14 14:26:11 2015 +0100

    boot loader: Improve code of elf header initialization
    
    This has been driving me crazy.  This change has no practical difference,
    but I didn't like seeing the code loop through headers twice for no good
    reason.  This moves all the initialization to a single loop.

Summary of changes:
 sys/boot/common/load_elf_obj.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19976c5f53779a31cb1b85080b4162443d3034d0


-- 
DragonFly BSD source repository


More information about the Commits mailing list