From 4859d41eb2d03ff96c483fadb016557ef9c45bb2 Mon Sep 17 00:00:00 2001 From: dpgilbert <dpgilbert@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Tue, 18 Nov 2003 13:47:40 +0000 Subject: [PATCH] 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 --- sm5/scsiprint.c | 7 +++---- sm5/scsiprint.cpp | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sm5/scsiprint.c b/sm5/scsiprint.c index 36de14040..e7a88dbb8 100644 --- a/sm5/scsiprint.c +++ b/sm5/scsiprint.c @@ -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) diff --git a/sm5/scsiprint.cpp b/sm5/scsiprint.cpp index 53e116481..5e48bb641 100644 --- a/sm5/scsiprint.cpp +++ b/sm5/scsiprint.cpp @@ -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) -- GitLab