aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/args.c b/lib/args.c
index 1b69466e..0ec20375 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -181,7 +181,7 @@ void parse_optflaglist(struct getoptflagstate *gof)
int i;
// Parse option format string
- bzero(gof, sizeof(struct getoptflagstate));
+ memset(gof, 0, sizeof(struct getoptflagstate));
gof->maxargs = INT_MAX;
if (!options) return;