diff --git a/sm5/Makefile b/sm5/Makefile index 09c8502bf818b4989482a7bb315508cddb930995..7ff88db83a35307c6f7a68b8c1156e35c1b76089 100644 --- a/sm5/Makefile +++ b/sm5/Makefile @@ -1,6 +1,6 @@ # Makefile for smartmontools # -# $Id: Makefile,v 1.7 2002/10/11 00:38:22 ballen4705 Exp $ +# $Id: Makefile,v 1.8 2002/10/11 01:27:39 ballen4705 Exp $ # # Copyright (C) 2002 Bruce Allen <ballen@uwm.edu> # @@ -38,7 +38,7 @@ scsicmds.o: scsicmds.h scsicmds.c ${CC} ${CFLAGS} -c scsicmds.c clean: - rm -f *.o smartctl smartd *~ #*# smartmontools*.tar.gz smartmontools*.rpm + rm -f *.o smartctl smartd *~ \#*\# smartmontools*.tar.gz smartmontools*.rpm install: smartctl smartd smartctl.8 smartd.8 smartd.initd install -m 755 -o root -g root -D smartctl $(DESTDIR)/usr/sbin/smartctl diff --git a/sm5/ataprint.c b/sm5/ataprint.c index f53e1f6ffc7af6474d81feb1469451f7998ab9ab..ad954cbaf2b1db7f81ec150fabadeae2fae7bdd0 100644 --- a/sm5/ataprint.c +++ b/sm5/ataprint.c @@ -1,4 +1,4 @@ -// $Id: ataprint.c,v 1.3 2002/10/11 00:38:22 ballen4705 Exp $ +// $Id: ataprint.c,v 1.4 2002/10/11 01:27:39 ballen4705 Exp $ /* * ataprint.c * @@ -205,7 +205,7 @@ void PrintSmartOfflineCollectCap ( struct ata_smart_values data) void PrintSmartCapability ( struct ata_smart_values data) { - printf ("Smart Capabilities: "); + printf ("Smart Capabilities: "); printf ("(0x%04x)\t", data.smart_capability); if (data.smart_capability == 0x00) @@ -312,7 +312,7 @@ void PrintSmartAttribWithThres ( struct ata_smart_values data, if (data.vendor_attributes[i].id!=194 || rawvalue<200) printf ("%llu\n", rawvalue); else - printf("%u (Lifetime Low/Max %u/%u)\n", + printf("%u (Lifetime Min/Max %u/%u)\n", data.vendor_attributes[i].raw[0], data.vendor_attributes[i].raw[2], data.vendor_attributes[i].raw[4]); diff --git a/sm5/ataprint.cpp b/sm5/ataprint.cpp index 61be6e32a022db86896cb3330dacae867c481c4d..a666f2e0d3b0eb4a3e99e28d9285c1fc72c3abcd 100644 --- a/sm5/ataprint.cpp +++ b/sm5/ataprint.cpp @@ -1,4 +1,4 @@ -// $Id: ataprint.cpp,v 1.3 2002/10/11 00:38:22 ballen4705 Exp $ +// $Id: ataprint.cpp,v 1.4 2002/10/11 01:27:39 ballen4705 Exp $ /* * ataprint.c * @@ -205,7 +205,7 @@ void PrintSmartOfflineCollectCap ( struct ata_smart_values data) void PrintSmartCapability ( struct ata_smart_values data) { - printf ("Smart Capabilities: "); + printf ("Smart Capabilities: "); printf ("(0x%04x)\t", data.smart_capability); if (data.smart_capability == 0x00) @@ -312,7 +312,7 @@ void PrintSmartAttribWithThres ( struct ata_smart_values data, if (data.vendor_attributes[i].id!=194 || rawvalue<200) printf ("%llu\n", rawvalue); else - printf("%u (Lifetime Low/Max %u/%u)\n", + printf("%u (Lifetime Min/Max %u/%u)\n", data.vendor_attributes[i].raw[0], data.vendor_attributes[i].raw[2], data.vendor_attributes[i].raw[4]);