Skip to content
Snippets Groups Projects
Commit b9533f2f authored by chrfranke's avatar chrfranke
Browse files

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
parent b302f50c
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include "utility.h" #include "utility.h"
#include "knowndrives.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; 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 // for passing global control variables
...@@ -1180,7 +1180,7 @@ void ataPrintSelectiveSelfTestLog(struct ata_selective_self_test_log *log, struc ...@@ -1180,7 +1180,7 @@ void ataPrintSelectiveSelfTestLog(struct ata_selective_self_test_log *log, struc
// this span is currently under test // this span is currently under test
pout(" %d %*"PRIu64" %*"PRIu64" %s [%01d0%% left] (%"PRIu64"-%"PRIu64")\n", pout(" %d %*"PRIu64" %*"PRIu64" %s [%01d0%% left] (%"PRIu64"-%"PRIu64")\n",
i+1, field1, start, field2, end, msg, 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 else
// this span is not currently under test // this span is not currently under test
pout(" %d %*"PRIu64" %*"PRIu64" Not_testing\n", pout(" %d %*"PRIu64" %*"PRIu64" Not_testing\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment