small cleanup changes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: aspi32.c,v 1.20 2004/07/14 04:34:25 rocky Exp $
|
$Id: aspi32.c,v 1.21 2004/07/14 04:42:11 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char _rcsid[] = "$Id: aspi32.c,v 1.20 2004/07/14 04:34:25 rocky Exp $";
|
static const char _rcsid[] = "$Id: aspi32.c,v 1.21 2004/07/14 04:42:11 rocky Exp $";
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/sector.h>
|
#include <cdio/sector.h>
|
||||||
@@ -397,11 +397,10 @@ scsi_mmc_command( const _img_private_t *env,
|
|||||||
/* Create the transfer completion event */
|
/* Create the transfer completion event */
|
||||||
hEvent = CreateEvent( NULL, TRUE, FALSE, NULL );
|
hEvent = CreateEvent( NULL, TRUE, FALSE, NULL );
|
||||||
if( hEvent == NULL ) {
|
if( hEvent == NULL ) {
|
||||||
|
cdio_info("CreateEvent failed");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Data selection */
|
|
||||||
|
|
||||||
memset( &ssc, 0, sizeof( ssc ) );
|
memset( &ssc, 0, sizeof( ssc ) );
|
||||||
|
|
||||||
ssc.SRB_Cmd = SC_EXEC_SCSI_CMD;
|
ssc.SRB_Cmd = SC_EXEC_SCSI_CMD;
|
||||||
@@ -443,7 +442,7 @@ scsi_mmc_command( const _img_private_t *env,
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Reads a single mode2 sector from cd device into data starting from lsn.
|
Reads nblocks sectors from cd device into data starting from lsn.
|
||||||
Returns 0 if no error.
|
Returns 0 if no error.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user