]> sigrok.org Git - libsigrok.git/blobdiff - output/text/ascii.c
sr: Prefix log messages with subsystem string.
[libsigrok.git] / output / text / ascii.c
index 923cb93d88f4494509f5a9e824f4d69bc26d4df3..1f7064c8363fa93b17007788a4299f8a7e41de62 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the sigrok project.
  *
- * Copyright (C) 2011 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
  * Copyright (C) 2011 HÃ¥vard Espeland <gus@ping.uio.no>
  *
  * This program is free software: you can redistribute it and/or modify
@@ -108,7 +108,8 @@ SR_PRIV int data_ascii(struct sr_output *o, const char *data_in,
                        ctx->prevsample = sample;
                }
        } else {
-               sr_info("short buffer (length_in=%" PRIu64 ")", length_in);
+               sr_info("ascii out: short buffer (length_in=%" PRIu64 ")",
+                       length_in);
        }
 
        *data_out = outbuf;