Replace bzero() with memset()

This commit is contained in:
Ronnie Sahlberg
2011-01-03 15:35:36 +11:00
parent 77f1440b65
commit 9ddce8dc24
9 changed files with 30 additions and 30 deletions

View File

@@ -281,7 +281,7 @@ int main(int argc, const char *argv[])
POPT_TABLEEND
};
bzero(&state, sizeof(state));
memset(&state, 0, sizeof(state));
pc = poptGetContext(argv[0], argc, argv, popt_options, POPT_CONTEXT_POSIXMEHARDER);
if ((res = poptGetNextOpt(pc)) < -1) {