Use the right size for zeroing.
Submitted by: rpokala@
This commit is contained in:
parent
4b68de9c1a
commit
bd4c1dd6d6
@ -268,7 +268,7 @@ void
|
||||
g_reset_bio(struct bio *bp)
|
||||
{
|
||||
|
||||
bzero(bp, sizeof(bp));
|
||||
bzero(bp, sizeof(*bp));
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user