From eb0b9640624803e8b8aa61faa4a84f4f494d4c7d Mon Sep 17 00:00:00 2001
From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Wed, 23 Oct 2002 12:37:11 +0000
Subject: [PATCH] release 11

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@90 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/ataprint.c   | 7 +++----
 sm5/ataprint.cpp | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/sm5/ataprint.c b/sm5/ataprint.c
index 38e9d60a2..bb0cb8c8f 100644
--- a/sm5/ataprint.c
+++ b/sm5/ataprint.c
@@ -28,7 +28,7 @@
 #include "smartctl.h"
 #include "extern.h"
 
-const char *CVSid4="$Id: ataprint.c,v 1.25 2002/10/23 12:24:24 ballen4705 Exp $\n"
+const char *CVSid4="$Id: ataprint.c,v 1.26 2002/10/23 12:37:11 ballen4705 Exp $\n"
 	           "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ;
 
 // Function for printing ASCII byte-swapped strings, skipping white
@@ -501,8 +501,7 @@ int nonempty(unsigned char *testarea,int n){
   return 0;
 }
   
-void ataPrintSmartErrorlog (struct ata_smart_errorlog data)
-{
+void ataPrintSmartErrorlog (struct ata_smart_errorlog data){
   int i,j,k;
   
   pout ("SMART Error Log Version: %i\n", data.revnumber);
@@ -1002,7 +1001,7 @@ int ataPrintMain (int fd){
       returnval|=FAILSMART;
     }
     else {
-      QUIETON;
+      // turn on quiet mode inside this
       ataPrintSmartErrorlog(smarterror);
       QUIETOFF;
     }
diff --git a/sm5/ataprint.cpp b/sm5/ataprint.cpp
index 3608014f6..a74532613 100644
--- a/sm5/ataprint.cpp
+++ b/sm5/ataprint.cpp
@@ -28,7 +28,7 @@
 #include "smartctl.h"
 #include "extern.h"
 
-const char *CVSid4="$Id: ataprint.cpp,v 1.25 2002/10/23 12:24:24 ballen4705 Exp $\n"
+const char *CVSid4="$Id: ataprint.cpp,v 1.26 2002/10/23 12:37:11 ballen4705 Exp $\n"
 	           "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ;
 
 // Function for printing ASCII byte-swapped strings, skipping white
@@ -501,8 +501,7 @@ int nonempty(unsigned char *testarea,int n){
   return 0;
 }
   
-void ataPrintSmartErrorlog (struct ata_smart_errorlog data)
-{
+void ataPrintSmartErrorlog (struct ata_smart_errorlog data){
   int i,j,k;
   
   pout ("SMART Error Log Version: %i\n", data.revnumber);
@@ -1002,7 +1001,7 @@ int ataPrintMain (int fd){
       returnval|=FAILSMART;
     }
     else {
-      QUIETON;
+      // turn on quiet mode inside this
       ataPrintSmartErrorlog(smarterror);
       QUIETOFF;
     }
-- 
GitLab