diff --git a/vpi/sys_queue.c b/vpi/sys_queue.c index 3a9d849a2..27a55ddc0 100644 --- a/vpi/sys_queue.c +++ b/vpi/sys_queue.c @@ -1193,9 +1193,7 @@ static PLI_INT32 sys_q_full_calltf(PLI_BYTE8 *name) val.format = vpiIntVal; val.value.integer = IVL_QUEUE_UNDEFINED_ID; vpi_put_value(status, &val, 0, vpiNoDelay); - val.format = vpiIntVal; - val.value.integer = 2; /* An error value. */ - vpi_put_value(callh, &val, 0, vpiNoDelay); + fill_variable_with_x(callh); return 0; }