-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-bootloader: simplify get_loader_features
Rather than calling get_variable_size, allocating a vec, and then reading into it, use a fixed-size buffer. The behavior is unchanged, just a little simpler. Also added a summary of the error behavior to the docstring.
- Loading branch information
1 parent
e2365a1
commit 0104987
Showing
1 changed file
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters