Use the right size for zeroing.
Submitted by: rpokala@
This commit is contained in:
parent
d4f0d7c2ec
commit
edbfaba7f5
@ -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