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
1 changed files with 1 additions and 1 deletions

View File

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