Pass the right pointer to bzero() when clearing cp_time.
MFC after: 1 week
This commit is contained in:
parent
794a9a6c96
commit
9e5fbab2a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181878
@ -417,7 +417,7 @@ main(int argc, char **argv)
|
|||||||
if ((wflag > 0) && (cflag == 0))
|
if ((wflag > 0) && (cflag == 0))
|
||||||
count = -1;
|
count = -1;
|
||||||
|
|
||||||
bzero(&cur.cp_time, sizeof(cur.cp_time));
|
bzero(cur.cp_time, sizeof(cur.cp_time));
|
||||||
cur.tk_nout = 0;
|
cur.tk_nout = 0;
|
||||||
cur.tk_nin = 0;
|
cur.tk_nin = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user