Corrected wrong use of sizeof
This commit is contained in:
parent
04ccaebff7
commit
c2903ab717
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2013.01.16.181124"
|
#define Cdrskin_timestamP "2013.02.26.080127"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
|
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
|
||||||
|
|
||||||
/* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
|
/* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
|
||||||
Copyright (c) 2006 - 2012 Thomas Schmitt <scdbackup@gmx.net>
|
Copyright (c) 2006 - 2013 Thomas Schmitt <scdbackup@gmx.net>
|
||||||
Provided under GPL version 2 or later.
|
Provided under GPL version 2 or later.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -2123,7 +2123,7 @@ int burn_drive_convert_scsi_adr(int bus_no, int host_no, int channel_no,
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
ex:;
|
ex:;
|
||||||
if (first == 0)
|
if (first == 0)
|
||||||
sg_give_next_adr(&enm, fname, sizeof(fname), -1);
|
sg_give_next_adr(&enm, fname, fname_size, -1);
|
||||||
BURN_FREE_MEM(fname);
|
BURN_FREE_MEM(fname);
|
||||||
BURN_FREE_MEM(msg);
|
BURN_FREE_MEM(msg);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user