From 4ad8cba45f422ef8daf0b7c3dc21a4fccb1fdc77 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 6 Aug 2024 14:01:06 +1000 Subject: [PATCH] CLVM: improve getstati() warning Signed-off-by: bones_was_here --- clvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clvm_cmds.c b/clvm_cmds.c index 971afbdb..08a629f3 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -2054,7 +2054,7 @@ static void VM_CL_getstati (prvm_prog_t *prog) if(index < 0 || index >= MAX_CL_STATS) { PRVM_G_FLOAT(OFS_RETURN) = 0; - VM_Warning(prog, "VM_CL_getstati: index>=MAX_CL_STATS or index<0\n"); + VM_Warning(prog, "VM_CL_getstati: index(%i) is >=MAX_CL_STATS(%i) or <0\n", index, MAX_CL_STATS); return; } -- 2.39.2