diff options
author | jhb <jhb@FreeBSD.org> | 2008-08-19 20:33:59 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-08-19 20:33:59 +0000 |
commit | 6b2c2fe045365a47fa81ab8c4137d03dacbcfaae (patch) | |
tree | 57554eb350397daae14ed49b6cf440d9e077565f /usr.sbin | |
parent | 78678aa46b814bc351bcd1202fa9b49a62513002 (diff) | |
download | FreeBSD-src-6b2c2fe045365a47fa81ab8c4137d03dacbcfaae.zip FreeBSD-src-6b2c2fe045365a47fa81ab8c4137d03dacbcfaae.tar.gz |
Pass the right pointer to bzero() when clearing cp_time.
MFC after: 1 week
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/iostat/iostat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index f1a0556..b349cd2 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -417,7 +417,7 @@ main(int argc, char **argv) if ((wflag > 0) && (cflag == 0)) count = -1; - bzero(&cur.cp_time, sizeof(cur.cp_time)); + bzero(cur.cp_time, sizeof(cur.cp_time)); cur.tk_nout = 0; cur.tk_nin = 0; |