Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162949821
D5366.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
523 B
Referenced Files
None
Subscribers
None
D5366.id.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
Sun, Jul 19, 3:14 PM (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35218243
Default Alt Text
D5366.id.diff (523 B)
Attached To
Mode
D5366: Fix an off-by-one error, d_unit starts at 0.
Attached
Detach File
Event Timeline
Log In to Comment