Skip to content

Commit

Permalink
use same case in all log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
erichelgeson authored and androda committed Oct 12, 2023
1 parent 6743cb6 commit 90ad09e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BlueSCSI_initiator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void scsiInitiatorMainLoop()

if (readcapok)
{
log("SCSI id ", g_initiator_state.target_id,
log("SCSI ID ", g_initiator_state.target_id,
" capacity ", (int)g_initiator_state.sectorcount,
" sectors x ", (int)g_initiator_state.sectorsize, " bytes");

Expand All @@ -179,15 +179,15 @@ void scsiInitiatorMainLoop()
}
else if (startstopok)
{
log("SCSI id ", g_initiator_state.target_id, " responds but ReadCapacity command failed");
log("SCSI ID ", g_initiator_state.target_id, " responds but ReadCapacity command failed");
log("Possibly SCSI-1 drive? Attempting to read up to 1 GB.");
g_initiator_state.sectorsize = 512;
g_initiator_state.sectorcount = g_initiator_state.sectorcount_all = 2097152;
g_initiator_state.max_sector_per_transfer = 128;
}
else
{
debuglog("Failed to connect to SCSI id ", g_initiator_state.target_id);
debuglog("No response from SCSI ID ", g_initiator_state.target_id);
g_initiator_state.sectorsize = 0;
g_initiator_state.sectorcount = g_initiator_state.sectorcount_all = 0;
}
Expand Down

0 comments on commit 90ad09e

Please sign in to comment.