Skip to content
Snippets Groups Projects
Commit e7ae9545 authored by ballen4705's avatar ballen4705
Browse files

removing blank space

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@103 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent eef068ac
Branches
No related tags found
No related merge requests found
......@@ -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()
......
......
......@@ -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()
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment