From 5fabe1f20ad6bc9be5041f79ff51935a23053add Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Fri, 11 Oct 2002 01:27:39 +0000 Subject: [PATCH] clean target removes autosave files spacing (formatting) of output git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@21 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/Makefile | 4 ++-- sm5/ataprint.c | 6 +++--- sm5/ataprint.cpp | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sm5/Makefile b/sm5/Makefile index 09c8502bf..7ff88db83 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 f53e1f6ff..ad954cbaf 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 61be6e32a..a666f2e0d 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]); -- GitLab