summaryrefslogtreecommitdiff
path: root/riff/DUT.cpp
diff options
context:
space:
mode:
authorSrimanta Panda <srimanta.panda@stericsson.com>2011-10-13 10:17:16 +0200
committerSrimanta Panda <srimanta.panda@stericsson.com>2011-10-13 10:27:32 +0200
commit7b1ae2029ad33a38e1e718a33e2879325b389332 (patch)
treea86e4cb793dff0147649c5731b46981ac701fed5 /riff/DUT.cpp
parentfac26f795cf96ec624a3a334ba9b78ea2d86811d (diff)
Added Windows Support
RIFF will be supported for the Windows platform. It requires libusb-win32 library to build it.
Diffstat (limited to 'riff/DUT.cpp')
-rw-r--r--riff/DUT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/riff/DUT.cpp b/riff/DUT.cpp
index 6019518..747727d 100644
--- a/riff/DUT.cpp
+++ b/riff/DUT.cpp
@@ -31,7 +31,7 @@ using namespace std;
do { \
if (0 != error) \
{ \
- logger_.log(Logger::ERROR,"COMMAND ERROR: %s %d", message, error); \
+ logger_.log(Logger::ERR,"COMMAND ERROR: %s %d", message, error); \
usb_destroy_device(commDevice_, error); \
errorcode_ = error; \
return; \
@@ -59,7 +59,7 @@ DUT::~DUT()
int error = DestroyContext(&lcdContext_);
if (0 != error) {
- logger_.log(Logger::ERROR, "LCD ERROR: Failed to destroy LCD context %d", error);
+ logger_.log(Logger::ERR, "LCD ERROR: Failed to destroy LCD context %d", error);
} else {
logger_.log(Logger::INFO, "LCD context destroyed successfully");
}