From 2d3325bd9ae19e7117234b070d391b5e2928a97d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 4 Jul 2012 19:46:29 +0200 Subject: [PATCH] show firmware revision in 'v' --- gummiboot.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gummiboot.c b/gummiboot.c index a27133c..73deeed 100644 --- a/gummiboot.c +++ b/gummiboot.c @@ -581,8 +581,10 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry) { uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, clearline+1); break; case 'v': - status = PoolPrint(L"gummiboot %d, UEFI %d.%02d", VERSION, - ST->Hdr.Revision >> 16, ST->Hdr.Revision & 0xffff); + status = PoolPrint(L"gummiboot %d, UEFI %d.%02d, %s %d.%02d", + VERSION, + ST->Hdr.Revision >> 16, ST->Hdr.Revision & 0xffff, + ST->FirmwareVendor, ST->FirmwareRevision >> 16, ST->FirmwareRevision & 0xffff); break; } } -- 2.7.4