summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2016-02-17 18:28:38 +0000
committerimp <imp@FreeBSD.org>2016-02-17 18:28:38 +0000
commitedbfaba7f52893056897a24fa1c76e46f6235bc0 (patch)
treeb58e3b729f7ce829d59d651c0606ef5a348a2a37 /sys/geom
parentd4f0d7c2ecb292300f4bad7796d25247ff1c6a72 (diff)
downloadFreeBSD-src-edbfaba7f52893056897a24fa1c76e46f6235bc0.zip
FreeBSD-src-edbfaba7f52893056897a24fa1c76e46f6235bc0.tar.gz
Use the right size for zeroing.
Submitted by: rpokala@
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index 5a2e4bd..c233c33 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -268,7 +268,7 @@ void
g_reset_bio(struct bio *bp)
{
- bzero(bp, sizeof(bp));
+ bzero(bp, sizeof(*bp));
}
void
OpenPOWER on IntegriCloud