git: boot/common: Fix passing of wrong variable in file_load()

Aaron LI aly at crater.dragonflybsd.org
Tue Feb 21 06:17:25 PST 2023


commit 138a936f330b2e0427ebbe09efc793a8fb41fba0
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Feb 19 17:38:32 2023 +0800

    boot/common: Fix passing of wrong variable in file_load()
    
    In file_load(), the l_load() method should be passed the argument 'dest'
    instead of the global variable 'loadaddr'.  The bug didn't cause real
    problem because they're the same.  Neverthless, fix it.
    
    Obtained-from: FreeBSD (commit 0a215cf2d80bf9f44d5e01266de38c26df071b7a)

Summary of changes:
 stand/boot/common/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/138a936f330b2e0427ebbe09efc793a8fb41fba0


-- 
DragonFly BSD source repository


More information about the Commits mailing list