svn commit: r327877 - head/usr.sbin/efibootmgr

Oliver Pinter oliver.pinter at hardenedbsd.org
Mon Mar 26 23:32:26 UTC 2018


Hi Warner!

Did you plan to MFC this to 11-stable? I think other parts (both kernel and
loader parts are mostly MFCd back by Kyle).

Thanks,
Oliver

On Friday, January 12, 2018, Warner Losh <imp at freebsd.org> wrote:

> Author: imp
> Date: Fri Jan 12 15:30:48 2018
> New Revision: 327877
> URL: https://svnweb.freebsd.org/changeset/base/327877
>
> Log:
>   Fix error in determining the next available boot slot.
>
>   Sponsored by: Netflix
>
> Modified:
>   head/usr.sbin/efibootmgr/efibootmgr.c
>
> Modified: head/usr.sbin/efibootmgr/efibootmgr.c
> ============================================================
> ==================
> --- head/usr.sbin/efibootmgr/efibootmgr.c       Fri Jan 12 14:01:38 2018
>       (r327876)
> +++ head/usr.sbin/efibootmgr/efibootmgr.c       Fri Jan 12 15:30:48 2018
>       (r327877)
> @@ -563,7 +563,7 @@ make_next_boot_var_name(void)
>         } else {
>                 /* now just run the list looking for the first hole */
>                 for (i = 0; i < cnt - 1 && next_free == 0; i++)
> -                       if (vals[i] != vals[i + 1] + 1)
> +                       if (vals[i] + 1 != vals[i + 1])
>                                 next_free = vals[i] + 1;
>                 if (next_free == 0)
>                         next_free = vals[cnt - 1] + 1;
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
>


More information about the svn-src-head mailing list