X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fscsi-linux.c;h=d0dcaeb8b31f18f4c6092ae1312ebd3ae0a1b0ef;hb=d3b2175e084f88c8736ad7073eacbf4670147aec;hp=d8cf55d7b3e4b389efffa05d11b21509a01eec1f;hpb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;p=debian%2Famanda diff --git a/changer-src/scsi-linux.c b/changer-src/scsi-linux.c index d8cf55d..d0dcaeb 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.2.1 2006/12/12 14:56:38 martinea Exp $ + * $Id: scsi-linux.c,v 1.30 2006/07/06 11:57:28 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.2.1 2006/12/12 14:56:38 martinea Exp $"; + static char rcsid[] = "$Id: scsi-linux.c,v 1.30 2006/07/06 11:57:28 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 %zd (%lu) %2X\n", status, SCSI_OFF + DataBufferLength,psg_header->result )); + dbprintf(("Status " SSIZE_T_FMT " (" SSIZE_T_FMT ") %2X\n", status, SCSI_OFF + DataBufferLength,psg_header->result )); SCSI_CloseDevice(DeviceFD); amfree(buffer); return(SCSI_ERROR);