From 5aef565b94e6cb38e1f2924412068cb682862072 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 25 Mar 2022 20:23:47 +0000 Subject: [PATCH] vvp: Fix error message output when a VPI module can't be found. (cherry picked from commit 3c58ca908d1b04d9768eeb1ba999d385bdf2f43d) --- vvp/vpi_modules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vvp/vpi_modules.cc b/vvp/vpi_modules.cc index 9ca969d93..9d3fb470a 100644 --- a/vvp/vpi_modules.cc +++ b/vvp/vpi_modules.cc @@ -177,7 +177,7 @@ void vpip_load_module(const char*name) if (rc != 0) { fprintf(stderr, "%s: Unable to find module file `%s' " - "or `%s.vpi'.\n", name,name,buf); + "or `%s.vpi'.\n", name, name, name); return; } } else {