diff --git a/tool/CommandDomains.cpp b/tool/CommandDomains.cpp index 738868a1a03475487ca25836127fbe83359e9991..04a26f2d70744eca4f8dea2f326d0fccafe7a836 100644 --- a/tool/CommandDomains.cpp +++ b/tool/CommandDomains.cpp @@ -71,7 +71,7 @@ string CommandDomains::helpString() const << endl << " SlaveConfig 1001:0, SM3 ( Input), LogAddr 0x00000006, Size 6" << endl - << " 0x00 0x00 0x00 0x00 0x00 0x00" << endl + << " 00 00 00 00 00 00" << endl << endl << "The process data are displayed as hexadecimal bytes." << endl << endl @@ -185,7 +185,7 @@ void CommandDomains::showDomain( for (j = 0; j < fmmu.data_size; j++) { if (j && !(j % BreakAfterBytes)) cout << endl << indent << " "; - cout << "0x" << setw(2) + cout << setw(2) << (unsigned int) *(processData + dataOffset + j) << " "; } cout << endl;