Skip to content
Snippets Groups Projects
Commit 40b1299e authored by dpgilbert's avatar dpgilbert
Browse files

since 'background' is used in several contexts, add 'scan' to clarify

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2269 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent d8a6ba17
Branches
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define GBUF_SIZE 65535 #define GBUF_SIZE 65535
const char* scsiprint_c_cvsid="$Id: scsiprint.cpp,v 1.116 2006/09/25 03:57:01 dpgilbert Exp $" const char* scsiprint_c_cvsid="$Id: scsiprint.cpp,v 1.117 2006/09/25 22:47:58 dpgilbert Exp $"
CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID SCSICMDS_H_CVSID SCSIPRINT_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID; CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID SCSICMDS_H_CVSID SCSIPRINT_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID;
// control block which points to external global control variables // control block which points to external global control variables
...@@ -850,7 +850,7 @@ static int scsiPrintBackgroundResults(int device) ...@@ -850,7 +850,7 @@ static int scsiPrintBackgroundResults(int device)
} }
if ((gBuf[0] & 0x3f) != BACKGROUND_RESULTS_LPAGE) { if ((gBuf[0] & 0x3f) != BACKGROUND_RESULTS_LPAGE) {
PRINT_ON(con); PRINT_ON(con);
pout("Background results Log Sense Failed, page mismatch\n"); pout("Background scan results Log Sense Failed, page mismatch\n");
PRINT_OFF(con); PRINT_OFF(con);
return FAILSMART; return FAILSMART;
} }
...@@ -858,8 +858,8 @@ static int scsiPrintBackgroundResults(int device) ...@@ -858,8 +858,8 @@ static int scsiPrintBackgroundResults(int device)
num = (gBuf[2] << 8) + gBuf[3] + 4; num = (gBuf[2] << 8) + gBuf[3] + 4;
if (num < 20) { if (num < 20) {
PRINT_ON(con); PRINT_ON(con);
pout("Background results Log Sense length is %d, no scan status\n", pout("Background scan results Log Sense length is %d, no scan "
num); "status\n", num);
PRINT_OFF(con); PRINT_OFF(con);
return FAILSMART; return FAILSMART;
} }
...@@ -1364,7 +1364,7 @@ int scsiPrintMain(int fd) ...@@ -1364,7 +1364,7 @@ int scsiPrintMain(int fd)
if (gBackgroundResultsLPage) if (gBackgroundResultsLPage)
res = scsiPrintBackgroundResults(fd); res = scsiPrintBackgroundResults(fd);
else { else {
pout("Device does not support Background results logging\n"); pout("Device does not support Background scan results logging\n");
failuretest(OPTIONAL_CMD, returnval|=FAILSMART); failuretest(OPTIONAL_CMD, returnval|=FAILSMART);
} }
if (0 != res) if (0 != res)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment