Small fix for C++11 to make Clang happy

This commit is contained in:
Jonathan Schleifer 2014-08-31 21:56:27 +02:00
parent 18684e0caf
commit 4409556b7a

View File

@ -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);
}