Page MenuHomeFreeBSD

D8415.diff
No OneTemporary

D8415.diff

Index: head/sys/boot/efi/libefi/efinet.c
===================================================================
--- head/sys/boot/efi/libefi/efinet.c
+++ head/sys/boot/efi/libefi/efinet.c
@@ -357,10 +357,12 @@
for (unit = 0, h = efi_find_handle(&efinet_dev, 0);
h != NULL; h = efi_find_handle(&efinet_dev, ++unit)) {
printf(" %s%d:", efinet_dev.dv_name, unit);
- text = efi_devpath_name(efi_lookup_devpath(h));
- if (text != NULL) {
- printf(" %S", text);
- efi_free_devpath_name(text);
+ if (verbose) {
+ text = efi_devpath_name(efi_lookup_devpath(h));
+ if (text != NULL) {
+ printf(" %S", text);
+ efi_free_devpath_name(text);
+ }
}
if (pager_output("\n"))
break;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 3:17 AM (11 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15610654
Default Alt Text
D8415.diff (713 B)

Event Timeline