diff options
author | Russ Cox <rsc@swtch.com> | 2008-11-17 19:45:37 -0800 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-11-17 19:45:37 -0800 |
commit | c6d1c6c617113b73ffa7f5bd8a6f3143518f7f2f (patch) | |
tree | 5882e09d7da57a04ce252872f2782c32fa218730 | |
parent | 95cb0f633d59b3b5b33bba11d8564ef68e817e7e (diff) | |
download | plan9port-c6d1c6c617113b73ffa7f5bd8a6f3143518f7f2f.tar.gz plan9port-c6d1c6c617113b73ffa7f5bd8a6f3143518f7f2f.tar.bz2 plan9port-c6d1c6c617113b73ffa7f5bd8a6f3143518f7f2f.zip |
lib9: fix memset in fmtnullinit
-rw-r--r-- | src/lib9/fmt/fmtnull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/fmt/fmtnull.c b/src/lib9/fmt/fmtnull.c index a2f808ee..aa5124a5 100644 --- a/src/lib9/fmt/fmtnull.c +++ b/src/lib9/fmt/fmtnull.c @@ -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; |