From b9533f2f1cfb61d8c0b660e103c17cfbddc15579 Mon Sep 17 00:00:00 2001 From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Sat, 28 Oct 2006 11:51:25 +0000 Subject: [PATCH] Fixed self_test_exec_status mask in output of selective self test log git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2313 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/ataprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm5/ataprint.cpp b/sm5/ataprint.cpp index 641fff6e1..d58364cc2 100644 --- a/sm5/ataprint.cpp +++ b/sm5/ataprint.cpp @@ -41,7 +41,7 @@ #include "utility.h" #include "knowndrives.h" -const char *ataprint_c_cvsid="$Id: ataprint.cpp,v 1.170 2006/10/24 21:36:42 shattered Exp $" +const char *ataprint_c_cvsid="$Id: ataprint.cpp,v 1.171 2006/10/28 11:51:25 chrfranke Exp $" ATACMDNAMES_H_CVSID ATACMDS_H_CVSID ATAPRINT_H_CVSID CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID KNOWNDRIVES_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID; // for passing global control variables @@ -1180,7 +1180,7 @@ void ataPrintSelectiveSelfTestLog(struct ata_selective_self_test_log *log, struc // this span is currently under test pout(" %d %*"PRIu64" %*"PRIu64" %s [%01d0%% left] (%"PRIu64"-%"PRIu64")\n", i+1, field1, start, field2, end, msg, - (int)(sv->self_test_exec_status & 0x7), current, currentend); + (int)(sv->self_test_exec_status & 0xf), current, currentend); else // this span is not currently under test pout(" %d %*"PRIu64" %*"PRIu64" Not_testing\n", -- GitLab