X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fscsi-linux.c;h=d8cf55d7b3e4b389efffa05d11b21509a01eec1f;hb=310f09c0f55a2fb6f3f3746d6ded20099792b773;hp=9885349fb52161ad4b355974bcbd19b92cf9d584;hpb=13d6d10aa48f1dfb956ccff2f72dbaa255073472;p=debian%2Famanda diff --git a/changer-src/scsi-linux.c b/changer-src/scsi-linux.c index 9885349..d8cf55d 100644 --- a/changer-src/scsi-linux.c +++ b/changer-src/scsi-linux.c @@ -24,7 +24,7 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: scsi-linux.c,v 1.30 2006/07/06 11:57:28 martinea Exp $ + * $Id: scsi-linux.c,v 1.30.2.1 2006/12/12 14:56:38 martinea Exp $ * * Interface to execute SCSI commands on Linux * @@ -83,7 +83,7 @@ extern OpenFiles_T *pDev; void SCSI_OS_Version(void) { #ifndef lint - static char rcsid[] = "$Id: scsi-linux.c,v 1.30 2006/07/06 11:57:28 martinea Exp $"; + static char rcsid[] = "$Id: scsi-linux.c,v 1.30.2.1 2006/12/12 14:56:38 martinea Exp $"; DebugPrint(DEBUG_ERROR, SECTION_INFO, "scsi-os-layer: %s\n",rcsid); #endif } @@ -377,7 +377,7 @@ int SCSI_ExecuteCommand(int DeviceFD, (psg_header->result != 0)) { dbprintf(("SCSI_ExecuteCommand error read \n")); - dbprintf(("Status %d (%d) %2X\n", status, SCSI_OFF + DataBufferLength,psg_header->result )); + dbprintf(("Status %zd (%lu) %2X\n", status, SCSI_OFF + DataBufferLength,psg_header->result )); SCSI_CloseDevice(DeviceFD); amfree(buffer); return(SCSI_ERROR);