* tsmf: OSS code cleanup
+ urbdrc: add devd support (not tested) * fix FindUUID detection ubder BSD * wlog: fix prev commit: build error on Windows * cmdline: add /usb syntax help
This commit is contained in:
parent
307d22ca11
commit
1a7ef0942b
@ -227,7 +227,7 @@ int WLog_PrintMessageVA(wLog* log, wLogMessage* message, va_list args)
|
||||
int offset = 0;
|
||||
|
||||
if (message->Level == WLOG_DEBUG || message->Level == WLOG_ERROR)
|
||||
offset = snprintf(formattedLogMessage, (WLOG_MAX_STRING_SIZE - 1), "%s, line %i: ", message->FunctionName, message->LineNumber);
|
||||
offset = sprintf_s(formattedLogMessage, (WLOG_MAX_STRING_SIZE - 1), "%s, line %i: ", message->FunctionName, message->LineNumber);
|
||||
wvsnprintfx((formattedLogMessage + offset), ((WLOG_MAX_STRING_SIZE - 1) - offset), message->FormatString, args);
|
||||
message->TextString = formattedLogMessage;
|
||||
status = WLog_Write(log, message);
|
||||
|
Loading…
Reference in New Issue
Block a user