summaryrefslogtreecommitdiff
path: root/libps/spec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libps/spec.c')
-rw-r--r--libps/spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/spec.c b/libps/spec.c
index d645b825..d8188d6b 100644
--- a/libps/spec.c
+++ b/libps/spec.c
@@ -1036,7 +1036,7 @@ specs_add_alias (struct ps_fmt_specs *specs,
exp->nominal_fn = alias->nominal_fn ?: src->nominal_fn;
/* Now add the list-end marker. */
- bzero (exp + 1, sizeof (*exp));
+ memset (exp + 1, 0, sizeof(*exp));
return exp;
}