On Tue, Sep 04, 2018 at 05:49:22PM +0200, Jan Kiszka wrote:
> On 2018-09-03 16:09, [ext] Andreas J. Reichel wrote:
> > From: Andreas Reichel <[email protected]>
> > 
> > During environment enumeration, notify if it is on the boot device
> > 
> > Signed-off-by: Andreas Reichel <[email protected]>
> > ---
> >   utils.c | 4 ++++
> >   1 file changed, 4 insertions(+)
> > 
> > diff --git a/utils.c b/utils.c
> > index ad779f4..dfed669 100644
> > --- a/utils.c
> > +++ b/utils.c
> > @@ -181,6 +181,10 @@ EFI_STATUS get_volumes(VOLUME_DESC **volumes, UINTN 
> > *count)
> >                   (*volumes)[rootCount].fscustomlabel);
> >             mfree(devpathstr);
> > +
> > +           if (IsOnBootDevice(devpath)) {
> > +                   Print(L"(On the boot device)\n");
> 
> Shouldn't that be appended to the "Volume X:..." line, rather than leaving
> it alone on a new one?
> 
Ok no problem.

Andreas

> Jan
> 
> > +           }
> >             rootCount++;
> >     }
> >     *count = rootCount;
> > 
> 

-- 
Andreas Reichel
Dipl.-Phys. (Univ.)
Software Consultant

[email protected], +49-174-3180074
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring
Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller
Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20180905111528.GD14836%40iiotirae.
For more options, visit https://groups.google.com/d/optout.

Reply via email to