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