1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Use "sp: " as prefix for debug logs (nicer/shorter).

This commit is contained in:
Uwe Hermann 2013-11-26 08:29:18 +01:00
parent c3e0509275
commit dd7742fb15

View File

@ -1914,7 +1914,7 @@ void sp_default_debug_handler(const char *format, ...)
va_list args; va_list args;
va_start(args, format); va_start(args, format);
if (getenv("LIBSERIALPORT_DEBUG")) { if (getenv("LIBSERIALPORT_DEBUG")) {
fputs("libserialport: ", stderr); fputs("sp: ", stderr);
vfprintf(stderr, format, args); vfprintf(stderr, format, args);
} }
va_end(args); va_end(args);