Gave up use of bzero() in FreeBSD system adapters

This commit is contained in:
Thomas Schmitt 2011-06-02 08:39:13 +00:00
parent 096ed00f2e
commit 5ba8c03a98
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.05.31.103124"
#define Cdrskin_timestamP "2011.06.02.083808"

View File

@ -160,7 +160,7 @@ static int sg_init_enumerator(burn_drive_enumerator_t *idx)
return -1;
}
bzero(&(idx->ccb), sizeof(union ccb));
memset(&(idx->ccb), 0, sizeof(union ccb));
idx->ccb.ccb_h.path_id = CAM_XPT_PATH_ID;
idx->ccb.ccb_h.target_id = CAM_TARGET_WILDCARD;

View File

@ -175,7 +175,7 @@ static int sg_init_enumerator(burn_drive_enumerator_t *idx_)
return -1;
}
bzero(&(idx->ccb), sizeof(union ccb));
memset(&(idx->ccb), 0, sizeof(union ccb));
idx->ccb.ccb_h.path_id = CAM_XPT_PATH_ID;
idx->ccb.ccb_h.target_id = CAM_TARGET_WILDCARD;