add _t to another time. driver_id inside p_cdio wasn't initialized.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: nrg.c,v 1.6 2005/01/12 11:34:52 rocky Exp $
|
||||
$Id: nrg.c,v 1.7 2005/01/17 17:20:09 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001, 2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "_cdio_stdio.h"
|
||||
#include "nrg.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.6 2005/01/12 11:34:52 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.7 2005/01/17 17:20:09 rocky Exp $";
|
||||
|
||||
|
||||
/* reader */
|
||||
@@ -1200,7 +1200,7 @@ cdio_open_nrg (const char *psz_source)
|
||||
CdIo *ret;
|
||||
_img_private_t *_data;
|
||||
|
||||
cdio_funcs _funcs;
|
||||
cdio_funcs_t _funcs;
|
||||
|
||||
memset( &_funcs, 0, sizeof(_funcs) );
|
||||
|
||||
@@ -1250,6 +1250,7 @@ cdio_open_nrg (const char *psz_source)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ret->driver_id = DRIVER_NRG;
|
||||
_set_arg_image(_data, "source", (NULL == psz_source)
|
||||
? DEFAULT_CDIO_DEVICE: psz_source);
|
||||
_set_arg_image (_data, "access-mode", "Nero");
|
||||
|
||||
Reference in New Issue
Block a user