Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176905660
D5366.1793598813.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
523 B
Referenced Files
None
Subscribers
None
D5366.1793598813.diff
View Options
Index: sys/boot/efi/libefi/efinet.c
===================================================================
--- sys/boot/efi/libefi/efinet.c
+++ sys/boot/efi/libefi/efinet.c
@@ -101,7 +101,7 @@
{
struct devdesc *dev = machdep_hint;
- if (dev->d_unit - 1 == nif->nif_unit)
+ if (dev->d_unit == nif->nif_unit)
return (1);
return(0);
}
@@ -311,6 +311,7 @@
if (status != EFI_SUCCESS) {
printf("Unable to open network interface %d for "
"exclusive access\n", i);
+ continue;
}
dif->dif_unit = i;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 2, 5:53 AM (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41308794
Default Alt Text
D5366.1793598813.diff (523 B)
Attached To
Mode
D5366: Fix an off-by-one error, d_unit starts at 0.
Attached
Detach File
Event Timeline