[Bug 256390] [PATCH] boot loader: Fix __elfN(loadimage) return value
Date: Wed, 02 Jun 2021 20:00:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256390 Bug ID: 256390 Summary: [PATCH] boot loader: Fix __elfN(loadimage) return value Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: dasebek@gmail.com Created attachment 225510 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225510&action=edit [PATCH] boot loader: Fix __elfN(loadimage) return value Caller functions expect __elfN(loadimage) to return a value of zero on failure and the file size on success. Returning ENOENT on failure does not seem correct to me. -- You are receiving this mail because: You are the assignee for the bug.