Small fix for C++11 to make Clang happy
This commit is contained in:
parent
18684e0caf
commit
4409556b7a
@ -78,7 +78,7 @@ usb_serial_trace(bool force, const char *format, ...)
|
||||
static char buffer[1024];
|
||||
char *bufferPointer = buffer;
|
||||
if (!gLogToFile) {
|
||||
const char *prefix = "\33[32m"DRIVER_NAME":\33[0m ";
|
||||
const char *prefix = "\033[32m" DRIVER_NAME ":\033[0m ";
|
||||
strcpy(bufferPointer, prefix);
|
||||
bufferPointer += strlen(prefix);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user