diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 380f2463..0dd6c898 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.04.09.105543" +#define Cdrskin_timestamP "2007.04.09.111215" diff --git a/libburn/trunk/libburn/sg-linux.c b/libburn/trunk/libburn/sg-linux.c index 926a80ce..5fd06184 100644 --- a/libburn/trunk/libburn/sg-linux.c +++ b/libburn/trunk/libburn/sg-linux.c @@ -433,7 +433,7 @@ static int sg_open_scsi_siblings(char *path, int driveno, int i_host_no = -1, i_channel_no = -1, i_target_no = -1, i_lun_no = -1; char msg[161], fname[81]; struct stat stbuf; - dev_t last_rdev; + dev_t last_rdev = 0; static char tldev[][81]= {"/dev/sr%d", "/dev/scd%d", "/dev/sg%d", ""}; /* ts A70609: removed "/dev/st%d" */ @@ -453,7 +453,7 @@ static int sg_open_scsi_siblings(char *path, int driveno, continue; for (i = 0; i < 32; i++) { sprintf(fname, tldev[tld], i); - if(stat(fname, &stbuf) != -1) + if(stat(fname, &stbuf) == -1) continue; if (*sibling_count > 0 && last_rdev == stbuf.st_rdev) continue;