diff --git a/sm5/scsiprint.c b/sm5/scsiprint.c index 3d6fec3ab9245448fcb82c8da95d89016e0104d2..d2107b425faf96686d34d80f0e0d3b8b1f5aa96a 100644 --- a/sm5/scsiprint.c +++ b/sm5/scsiprint.c @@ -36,7 +36,7 @@ #define GBUF_SIZE 65535 -const char* CVSid4="$Id: scsiprint.c,v 1.12 2002/12/19 00:05:19 pjwilliams Exp $" +const char* CVSid4="$Id: scsiprint.c,v 1.13 2002/12/29 02:14:47 dpgilbert Exp $" CVSID3 CVSID4 CVSID5 CVSID6; // control block which points to external global control variables @@ -175,10 +175,10 @@ void scsiGetStartStopData ( int device) } - recommendedStartStop= (UINT32) gBuf[28]<< 24 | gBuf[29] << 8 | - gBuf[30] << 16 | gBuf[31]; - currentStartStop= (UINT32) gBuf[36]<< 24 | gBuf[37] << 8 | - gBuf[38] << 16 | gBuf[39]; + recommendedStartStop= (UINT32) gBuf[28]<< 24 | gBuf[29] << 16 | + gBuf[30] << 8 | gBuf[31]; + currentStartStop= (UINT32) gBuf[36]<< 24 | gBuf[37] << 16 | + gBuf[38] << 8 | gBuf[39]; printf("Current start stop count: %u times\n", currentStartStop); printf("Recommended start stop count: %u times\n", recommendedStartStop); diff --git a/sm5/scsiprint.cpp b/sm5/scsiprint.cpp index 040692aa798b0badccd8af0757b745f3c46ec649..08038389771cc596e802131da67ad4f36d0bbd1f 100644 --- a/sm5/scsiprint.cpp +++ b/sm5/scsiprint.cpp @@ -36,7 +36,7 @@ #define GBUF_SIZE 65535 -const char* CVSid4="$Id: scsiprint.cpp,v 1.12 2002/12/19 00:05:19 pjwilliams Exp $" +const char* CVSid4="$Id: scsiprint.cpp,v 1.13 2002/12/29 02:14:47 dpgilbert Exp $" CVSID3 CVSID4 CVSID5 CVSID6; // control block which points to external global control variables @@ -175,10 +175,10 @@ void scsiGetStartStopData ( int device) } - recommendedStartStop= (UINT32) gBuf[28]<< 24 | gBuf[29] << 8 | - gBuf[30] << 16 | gBuf[31]; - currentStartStop= (UINT32) gBuf[36]<< 24 | gBuf[37] << 8 | - gBuf[38] << 16 | gBuf[39]; + recommendedStartStop= (UINT32) gBuf[28]<< 24 | gBuf[29] << 16 | + gBuf[30] << 8 | gBuf[31]; + currentStartStop= (UINT32) gBuf[36]<< 24 | gBuf[37] << 16 | + gBuf[38] << 8 | gBuf[39]; printf("Current start stop count: %u times\n", currentStartStop); printf("Recommended start stop count: %u times\n", recommendedStartStop);