Use the right size for zeroing.

Submitted by: rpokala@
This commit is contained in:
imp 2016-02-17 18:28:38 +00:00
parent d4f0d7c2ec
commit edbfaba7f5

View File

@ -268,7 +268,7 @@ void
g_reset_bio(struct bio *bp)
{
bzero(bp, sizeof(bp));
bzero(bp, sizeof(*bp));
}
void