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