Gave up use of bzero() in FreeBSD system adapters

1.1.0
Thomas Schmitt 12 years ago
parent 096ed00f2e
commit 5ba8c03a98
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/sg-freebsd-port.c
  3. 2
      libburn/sg-freebsd.c

@ -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…
Cancel
Save