DatabaseExperiment: fix output formatting

Change-Id: If882a9ec68b5d2d040d8a047c2b1ea53eea4c21f
This commit is contained in:
Horst Schirmeier
2018-07-31 12:29:20 +02:00
parent 68229afa84
commit 742ec092eb

View File

@ -125,8 +125,9 @@ unsigned DatabaseExperiment::injectFault(
<< hex << data_address << " out of range." << endl; << hex << data_address << " out of range." << endl;
return 0; return 0;
} }
m_log << " value: 0x" << setw(2) << setfill('0') << value m_log << hex << setw(2) << setfill('0')
<< " -> 0x" << setw(2) << setfill('0') << injected_value << endl; << " value: 0x" << value
<< " -> 0x" << injected_value << endl;
return value; return value;
} }