mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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
|
||||
fmtnullinit(Fmt *f)
|
||||
{
|
||||
memset(&f, 0, sizeof *f);
|
||||
memset(f, 0, sizeof *f);
|
||||
f->runes = 1;
|
||||
f->start = nullbuf;
|
||||
f->to = nullbuf;
|
||||
|
|
Loading…
Reference in a new issue