Gave up use of bzero() in FreeBSD system adapters
This commit is contained in:
parent
4c1b8c0a03
commit
802e53bac1
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2011.05.31.103124"
|
||||
#define Cdrskin_timestamP "2011.06.02.083808"
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user