lib9: fix memset in fmtnullinit
This commit is contained in:
parent
95cb0f633d
commit
c6d1c6c617
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ __fmtnullflush(Fmt *f)
|
||||||
int
|
int
|
||||||
fmtnullinit(Fmt *f)
|
fmtnullinit(Fmt *f)
|
||||||
{
|
{
|
||||||
memset(&f, 0, sizeof *f);
|
memset(f, 0, sizeof *f);
|
||||||
f->runes = 1;
|
f->runes = 1;
|
||||||
f->start = nullbuf;
|
f->start = nullbuf;
|
||||||
f->to = nullbuf;
|
f->to = nullbuf;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue