Commit 67e4282b authored by Thomas Schmitt's avatar Thomas Schmitt

Installed a simple address logger in burn_read_data

parent bd8d4bb4
#define Cdrskin_timestamP "2008.02.06.182222"
#define Cdrskin_timestamP "2008.02.06.230041"
......@@ -325,6 +325,19 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
char msg[81], *wpt;
struct buffer buf;
/*
#define Libburn_read_data_adr_logginG 1
*/
#ifdef Libburn_read_data_adr_logginG
static FILE *log_fp= NULL;
if(log_fp == NULL)
log_fp = fopen("/tmp/burn_read_data_log", "a");
if(log_fp!=NULL)
fprintf(log_fp, "%d\n", byte_address / 2048);
#endif /* Libburn_read_data_logginG */
*data_count = 0;
sose_mem = d->silent_on_scsi_error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment