diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 0c8dea5..6488b6b 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.11.23.104948" +#define Cdrskin_timestamP "2011.11.26.153142" diff --git a/libburn/sg-solaris.c b/libburn/sg-solaris.c index debc597..3c5818b 100644 --- a/libburn/sg-solaris.c +++ b/libburn/sg-solaris.c @@ -586,7 +586,6 @@ int sg_issue_command(struct burn_drive *d, struct command *c) static FILE *fp = NULL; c->error = 0; - memset(c->sense, 0, sizeof(c->sense)); if (d->fd == -1) return 0; @@ -632,6 +631,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c) timeout_ms = 200000; for(i = 0; !done; i++) { + memset(c->sense, 0, sizeof(c->sense)); ret = ioctl(d->fd, USCSICMD, &cgc); /* For cgc.uscsi_status see SAM-3 5.3.1, Table 22