From e7ae9545f793cccf03af20fb5d79d9601c4a221e Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Thu, 24 Oct 2002 10:13:53 +0000 Subject: [PATCH] removing blank space git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@103 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/smartd.c | 6 +++--- sm5/smartd.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sm5/smartd.c b/sm5/smartd.c index 6d8632ec3..bbb485829 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -37,7 +37,7 @@ #include "ataprint.h" extern const char *CVSid1, *CVSid2; -const char *CVSid3="$Id: smartd.c,v 1.19 2002/10/24 10:12:11 ballen4705 Exp $" +const char *CVSid3="$Id: smartd.c,v 1.20 2002/10/24 10:13:53 ballen4705 Exp $" CVSID1 CVSID4 CVSID7; int daemon_init(void){ @@ -221,7 +221,7 @@ void ataCompareSmartValues (atadevices_t *device, struct ata_smart_values new ){ while (*loc && *loc==' ') loc++; printout(LOG_INFO, "Device: %s, SMART Attribute %s Changed from %i to %i\n", - device->devicename,attributename,oldval,newval); + device->devicename,loc,oldval,newval); } } } @@ -251,7 +251,7 @@ int ataCheckDevice( atadevices_t *drive){ while (*loc && *loc==' ') loc++; printout(LOG_CRIT,"Device: %s, Failed attribute %s. Investigate with smartctl -v.\n", - drive->devicename,attributename); + drive->devicename,loc); } // WHEN IT WORKS, we should here add a call to ataSmartStatus2() diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index 21cac4013..b9b023020 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -37,7 +37,7 @@ #include "ataprint.h" extern const char *CVSid1, *CVSid2; -const char *CVSid3="$Id: smartd.cpp,v 1.19 2002/10/24 10:12:11 ballen4705 Exp $" +const char *CVSid3="$Id: smartd.cpp,v 1.20 2002/10/24 10:13:53 ballen4705 Exp $" CVSID1 CVSID4 CVSID7; int daemon_init(void){ @@ -221,7 +221,7 @@ void ataCompareSmartValues (atadevices_t *device, struct ata_smart_values new ){ while (*loc && *loc==' ') loc++; printout(LOG_INFO, "Device: %s, SMART Attribute %s Changed from %i to %i\n", - device->devicename,attributename,oldval,newval); + device->devicename,loc,oldval,newval); } } } @@ -251,7 +251,7 @@ int ataCheckDevice( atadevices_t *drive){ while (*loc && *loc==' ') loc++; printout(LOG_CRIT,"Device: %s, Failed attribute %s. Investigate with smartctl -v.\n", - drive->devicename,attributename); + drive->devicename,loc); } // WHEN IT WORKS, we should here add a call to ataSmartStatus2() -- GitLab