From 573b9ae25f3cff967551fbcef1e3df99c323cb9e Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 8 Dec 2025 15:14:22 +0100 Subject: [PATCH] Improve error message --- src/frontend/inpdeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/inpdeg.c b/src/frontend/inpdeg.c index 62a2ada9d..ac7988417 100644 --- a/src/frontend/inpdeg.c +++ b/src/frontend/inpdeg.c @@ -177,9 +177,10 @@ int adddegmonitors(struct card* deck) { /* get the channel length */ char* lpos = strstr(line, "l="); if (!lpos) { - fprintf(stderr, "Error, l not found in device %s \n\n", deck->line); + fprintf(stderr, "Error, channel length l not found in device %s \n\n", deck->line); return 1; } + /* get l=val [m] */ char* clength = gettok(&lpos); /* Now add a degradation monitor like adegmon1 %v([z a vss vss]) mon degmon1