Use the right size for zeroing.

Submitted by: rpokala@
This commit is contained in:
Warner Losh 2016-02-17 18:28:38 +00:00
parent 4b68de9c1a
commit bd4c1dd6d6

View File

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