Date: Tue, 26 Jan 2016 07:51:06 -0700 From: Warner Losh <wlosh@bsdimp.com> To: Steven Hartland <steven.hartland@multiplay.co.uk>, Warner Losh <imp@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r294767 - head/sys/boot/efi/loader Message-ID: <1an1nwlw2qoqyava2yucmdtb.1453819866096@email.android.com>
next in thread | raw e-mail | index | archive | help
SnVzdCBmb3Jnb3QgdG8gYWRkIE1hYyBhZnRlciAxd2Vlay4gQnV0IHdpdGggYWxsIHRoZSBjaHVy biBoZXJlLCBwcmVkaWN0aW5nIHdoZW4gbWF5IGJlIHRvdWdoLgoKV2FybmVyCgpPbiBKYW51YXJ5 IDI2LCAyMDE2LCBhdCAzOjI5IEFNLCBTdGV2ZW4gSGFydGxhbmQgPHN0ZXZlbi5oYXJ0bGFuZEBt dWx0aXBsYXkuY28udWs+IHdyb3RlOgoKTm8gcGxhbiB0byBNRkMgdGhlc2UgY2hhbmdlcz8NCg0K T24gMjYvMDEvMjAxNiAwNjoyNiwgV2FybmVyIExvc2ggd3JvdGU6DQo+IEF1dGhvcjogaW1wDQo+ IERhdGU6IFR1ZSBKYW4gMjYgMDY6MjY6NDYgMjAxNg0KPiBOZXcgUmV2aXNpb246IDI5NDc2Nw0K PiBVUkw6IGh0dHBzOi8vc3Zud2ViLmZyZWVic2Qub3JnL2NoYW5nZXNldC9iYXNlLzI5NDc2Nw0K Pg0KPiBMb2c6DQo+ICAgIFBhcnNlIHRoZSBjb21tYW5kIGxpbmUgYXJndW1lbnRzLCBhbmQgZG8g aXQgYmVmb3JlIHdlIGluaXRpYWxpemUgdGhlDQo+ICAgIGNvbnNvbGUgc28gaXQgY2FuIGJlIGNo YW5nZWQgYnkgdGhlIGNvbW1hbmQgbGluZSBhcmd1bWVudHMuDQo+ICAgIA0KPiAgICBEaWZmZXJl bnRpYW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29sZSIgLCAxKTsNCj4gKwl9DQo+ICAgDQo+ICAgCWlmIChlZmlfY29weV9pbml0 KCkpIHsNCj4gICAJCXByaW50ZigiZmFpbGVkIHRvIGFsbG9jYXRlIHN0YWdpbmcgYXJlYVxuIik7 DQo+DQoNCg==
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1an1nwlw2qoqyava2yucmdtb.1453819866096>