diff --git a/usr.bin/indent/io.c b/usr.bin/indent/io.c index 408d453e5aa6..169f04e65128 100644 --- a/usr.bin/indent/io.c +++ b/usr.bin/indent/io.c @@ -629,7 +629,7 @@ parsefont(struct fstate *f, const char *s0) const char *s = s0; int sizedelta = 0; - bzero(f, sizeof *f); + memset(f, 0, sizeof(struct fstate)); while (*s) { if (isdigit(*s)) f->size = f->size * 10 + *s - '0';