diff -r 0ebb802ac08d -r 7b77000f9764 tool/CommandSoeRead.cpp --- a/tool/CommandSoeRead.cpp Fri Mar 19 11:07:49 2010 +0100 +++ b/tool/CommandSoeRead.cpp Fri Mar 19 12:01:32 2010 +0100 @@ -28,7 +28,6 @@ ****************************************************************************/ #include -#include using namespace std; #include "CommandSoeRead.h" @@ -127,8 +126,7 @@ m.readSoe(&ioctl); } catch (MasterDeviceSoeException &e) { delete [] ioctl.data; - err << "SoE read command aborted with code 0x" - << setfill('0') << hex << setw(4) << e.errorCode; + err << "SoE read command failed with code " << errorMsg(e.errorCode); throwCommandException(err); } catch (MasterDeviceException &e) { delete [] ioctl.data;