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

@@ -44,7 +44,7 @@ iscsi_create_context(const char *initiator_name)
return NULL;
}
bzero(iscsi, sizeof(struct iscsi_context));
memset(iscsi, 0, sizeof(struct iscsi_context));
iscsi->initiator_name = strdup(initiator_name);
if (iscsi->initiator_name == NULL) {