X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Foutput_vcd.c;h=509aad0754b7b0075aab2796ee6a0759fb693d70;hb=d3b1b51cbef3edfeefbc5b9edfdd8423c6d5e8e0;hp=94efd2eb4e918bc3f7a0763c8f5832b9331df2b9;hpb=cdb3573ceba61b02b80f7fc979d166db5b6ff3bc;p=libsigrok.git diff --git a/output/output_vcd.c b/output/output_vcd.c index 94efd2eb..509aad07 100644 --- a/output/output_vcd.c +++ b/output/output_vcd.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "config.h" struct context { @@ -61,7 +62,7 @@ static int init(struct sr_output *o) ctx->probelist[ctx->num_enabled_probes++] = probe->name; } if (ctx->num_enabled_probes > 94) { - g_warning("VCD only supports 94 probes."); + sr_warn("VCD only supports 94 probes."); return SR_ERR; }