Skip to content
Snippets Groups Projects
Commit 4859d41e authored by dpgilbert's avatar dpgilbert
Browse files

change ouput when GLTSD bit set, code to clear it still to be wired in

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1252 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent d7220750
Branches
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
#define GBUF_SIZE 65535
const char* scsiprint_c_cvsid="$Id: scsiprint.c,v 1.63 2003/11/17 17:31:32 ballen4705 Exp $"
const char* scsiprint_c_cvsid="$Id: scsiprint.c,v 1.64 2003/11/18 13:47:40 dpgilbert Exp $"
EXTERN_H_CVSID SCSICMDS_H_CVSID SCSIPRINT_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID;
// control block which points to external global control variables
......@@ -867,9 +867,8 @@ int scsiPrintMain(int fd)
if (con->smarterrorlog) {
scsiPrintErrorCounterLog(fd);
if (1 == scsiFetchControlGLTSD(fd, modese_len))
pout("Warning: log page contents are potentially being reset"
" at each power up\n [Control mode page, GLTSD "
"(global logging target save disable) set]\n");
pout("\n[GLTSD (global logging target save disable) set. "
"Enable save with '-S on']\n");
}
if (con->smartselftestlog) {
if (! checkedSupportedLogPages)
......
......@@ -40,7 +40,7 @@
#define GBUF_SIZE 65535
const char* scsiprint_c_cvsid="$Id: scsiprint.cpp,v 1.63 2003/11/17 17:31:32 ballen4705 Exp $"
const char* scsiprint_c_cvsid="$Id: scsiprint.cpp,v 1.64 2003/11/18 13:47:40 dpgilbert Exp $"
EXTERN_H_CVSID SCSICMDS_H_CVSID SCSIPRINT_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID;
// control block which points to external global control variables
......@@ -867,9 +867,8 @@ int scsiPrintMain(int fd)
if (con->smarterrorlog) {
scsiPrintErrorCounterLog(fd);
if (1 == scsiFetchControlGLTSD(fd, modese_len))
pout("Warning: log page contents are potentially being reset"
" at each power up\n [Control mode page, GLTSD "
"(global logging target save disable) set]\n");
pout("\n[GLTSD (global logging target save disable) set. "
"Enable save with '-S on']\n");
}
if (con->smartselftestlog) {
if (! checkedSupportedLogPages)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment