From f567874c98ecb05a7f68156f85bd0a73d7783035 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() --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/mmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index aef5746..706989e 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.08.17.081901" +#define Cdrskin_timestamP "2007.08.22.134731" diff --git a/libburn/mmc.c b/libburn/mmc.c index 597ee5d..23aef48 100644 --- a/libburn/mmc.c +++ b/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]);