From 1a35f71170e46d8fff91d0b285f737ccdd3b3796 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sun, 5 Sep 2021 12:59:21 +0200 Subject: [PATCH] input/vcd: raise severity of messages about unsupported data types The VCD input module did check for unsupported data types in $var declarations. But the emitted message only was of INFO level and thus would not be seen at the default log level. Use ERR instead to raise awareness. Let users see by default that the input contains data which cannot get processed (and why the import terminated prematurely). This addresses part of bug #1757. --- src/input/vcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/vcd.c b/src/input/vcd.c index e751e885..2cb4eeed 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -855,7 +855,7 @@ static int parse_header_var(struct context *inc, char *contents) } else if (is_real || is_int) { ch_type = SR_CHANNEL_ANALOG; } else { - sr_info("Unsupported signal type: '%s'", type); + sr_err("Unsupported signal type: '%s'", type); g_strfreev(parts); return SR_ERR_DATA; } -- 2.30.2