diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-24 16:02:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-24 16:02:07 +0000 |
commit | 284252ccd65d45c31c7005777227b89096ea01ac (patch) | |
tree | c2e8aa87b016359cda92a29bf5409876300bb87c /lib/common | |
parent | dce76b728c8d4ddb8c49389a0fde7f2d0749c197 (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')
-rw-r--r-- | lib/common/Logging.h | 3 |
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) \ |