diff options
author | imp <imp@FreeBSD.org> | 2016-02-17 18:28:38 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2016-02-17 18:28:38 +0000 |
commit | edbfaba7f52893056897a24fa1c76e46f6235bc0 (patch) | |
tree | b58e3b729f7ce829d59d651c0606ef5a348a2a37 | |
parent | d4f0d7c2ecb292300f4bad7796d25247ff1c6a72 (diff) | |
download | FreeBSD-src-edbfaba7f52893056897a24fa1c76e46f6235bc0.zip FreeBSD-src-edbfaba7f52893056897a24fa1c76e46f6235bc0.tar.gz |
Use the right size for zeroing.
Submitted by: rpokala@
-rw-r--r-- | sys/geom/geom_io.c | 2 |
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 |