Date: Wed, 17 Feb 2016 18:28:38 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295712 - head/sys/geom Message-ID: <201602171828.u1HIScrl019938@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Feb 17 18:28:38 2016 New Revision: 295712 URL: https://svnweb.freebsd.org/changeset/base/295712 Log: Use the right size for zeroing. Submitted by: rpokala@ Modified: head/sys/geom/geom_io.c Modified: head/sys/geom/geom_io.c ============================================================================== --- head/sys/geom/geom_io.c Wed Feb 17 18:28:03 2016 (r295711) +++ head/sys/geom/geom_io.c Wed Feb 17 18:28:38 2016 (r295712) @@ -268,7 +268,7 @@ void g_reset_bio(struct bio *bp) { - bzero(bp, sizeof(bp)); + bzero(bp, sizeof(*bp)); } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602171828.u1HIScrl019938>