From: Uwe Hermann Date: Tue, 26 Nov 2013 07:29:18 +0000 (+0100) Subject: Use "sp: " as prefix for debug logs (nicer/shorter). X-Git-Tag: libserialport-0.1.0~42 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dd7742fb15e32d457ea6a10a683bc349a8e6da6b;p=libserialport.git Use "sp: " as prefix for debug logs (nicer/shorter). --- diff --git a/serialport.c b/serialport.c index 7cbb204..59c66ca 100644 --- a/serialport.c +++ b/serialport.c @@ -1914,7 +1914,7 @@ void sp_default_debug_handler(const char *format, ...) va_list args; va_start(args, format); if (getenv("LIBSERIALPORT_DEBUG")) { - fputs("libserialport: ", stderr); + fputs("sp: ", stderr); vfprintf(stderr, format, args); } va_end(args);