]> sigrok.org Git - libserialport.git/commitdiff
Use "sp: " as prefix for debug logs (nicer/shorter).
authorUwe Hermann <redacted>
Tue, 26 Nov 2013 07:29:18 +0000 (08:29 +0100)
committerUwe Hermann <redacted>
Tue, 26 Nov 2013 15:00:53 +0000 (16:00 +0100)
serialport.c

index 7cbb20410f997022477bd4a1d8147214c0f03d5e..59c66ca7defbae58c6d9bb66b36d4cac6d405028 100644 (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);