From ab47b3bb1b5a659dd5b4c0040cdff64389116beb Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 22 Aug 2007 13:46:21 +0000 Subject: [PATCH] Corrected dangerous typo with error message production of mmc_read_10() --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index aef57467..706989e4 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.08.17.081901" +#define Cdrskin_timestamP "2007.08.22.134731" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index 597ee5d9..23aef48b 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/libburn/mmc.c @@ -2819,7 +2819,7 @@ int mmc_read_10(struct burn_drive *d, int start,int amount, struct buffer *buf) d->issue_command(d, &c); if (c.error) { char msg[160]; - printf(msg, + sprintf(msg, "SCSI error on read_10(%d,%d): key=%X asc=%2.2Xh ascq=%2.2Xh", start, amount, c.sense[2],c.sense[12],c.sense[13]);