Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108971061
D21554.id61745.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
405 B
Referenced Files
None
Subscribers
None
D21554.id61745.diff
View Options
Index: lib/libkvm/kvm_private.c
===================================================================
--- lib/libkvm/kvm_private.c
+++ lib/libkvm/kvm_private.c
@@ -733,7 +733,7 @@
/* Find the next valid idx. */
for (; *idx < first_invalid; (*idx)++) {
unsigned int mask = *idx % CHAR_BIT;
- if ((bm->map[*idx * CHAR_BIT] & mask) == 0)
+ if ((bm->map[*idx / CHAR_BIT] & mask) == 0)
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 31, 3:34 AM (7 h, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16353191
Default Alt Text
D21554.id61745.diff (405 B)
Attached To
Mode
D21554: Fix kvm bitmap index
Attached
Detach File
Event Timeline
Log In to Comment