aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/efibootmgr/efibootmgr.c
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2020-11-30 21:59:52 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2020-11-30 21:59:52 +0000
commit8db8bebf1fd70e74dc8125bd2a3db1aa369eddab (patch)
tree6bd8fbc56d5ac5f4f58baf02f2445a6a3098a364 /usr.sbin/efibootmgr/efibootmgr.c
parent77df2c21cb29bec685a1e35f92e57fa3fb8d726d (diff)
downloadsrc-8db8bebf1fd70e74dc8125bd2a3db1aa369eddab.tar.gz
src-8db8bebf1fd70e74dc8125bd2a3db1aa369eddab.zip
Move inner loop logic out of sysctl_sysctl_next_ls().
Refactor sysctl_sysctl_next_ls(): * Move huge inner loop out of sysctl_sysctl_next_ls() into a separate non-recursive function, returning the next step to be taken. * Update resulting node oid parts only on successful lookup * Make sysctl_sysctl_next_ls() return boolean success/failure instead of errno, slightly simplifying logic Reviewed by: freqlabs Differential Revision: https://reviews.freebsd.org/D27029
Notes
Notes: svn path=/head/; revision=368199
Diffstat (limited to 'usr.sbin/efibootmgr/efibootmgr.c')
0 files changed, 0 insertions, 0 deletions