summaryrefslogtreecommitdiff
path: root/lib/common/Logging.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-12-24 16:02:07 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-24 16:02:07 +0000
commit284252ccd65d45c31c7005777227b89096ea01ac (patch)
treec2e8aa87b016359cda92a29bf5409876300bb87c /lib/common/Logging.h
parentdce76b728c8d4ddb8c49389a0fde7f2d0749c197 (diff)
Remove duplicate error number from Windows log messages.
GetErrorMessage() already includes the error number in the text string that it returns, so we don't need to include it again.
Diffstat (limited to 'lib/common/Logging.h')
-rw-r--r--lib/common/Logging.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h
index f61bf1dc..01358617 100644
--- a/lib/common/Logging.h
+++ b/lib/common/Logging.h
@@ -96,8 +96,7 @@
#ifdef WIN32
#define BOX_WIN_ERRNO_MESSAGE(error_number, stuff) \
- stuff << ": " << GetErrorMessage(error_number) << \
- " (" << error_number << ")"
+ stuff << ": " << GetErrorMessage(error_number)
#define BOX_NATIVE_ERRNO_MESSAGE(error_number, stuff) \
BOX_WIN_ERRNO_MESSAGE(error_number, stuff)
#define BOX_LOG_WIN_ERROR(stuff) \