aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-07-31 21:36:40 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-07-31 21:36:40 +0000
commitefc12d78f78de97e48487fc1c30dc8b17f31cba8 (patch)
tree0c7af6cb784026a692139b521e1ada702c63baae /usr.bin
parentf7adee231414489cd75f0b6fe35e0266b286cd4a (diff)
downloadsrc-efc12d78f78de97e48487fc1c30dc8b17f31cba8.tar.gz
src-efc12d78f78de97e48487fc1c30dc8b17f31cba8.zip
indent(1): replace function call to bzero with memset.
Notes
Notes: svn path=/head/; revision=303600
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/indent/io.c2
1 files changed, 1 insertions, 1 deletions
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';