From fc1dc1280dd89a2cfe5b6164549c71ed5ac4b4d5 Mon Sep 17 00:00:00 2001 From: vsc Date: Fri, 30 Apr 2004 19:48:01 +0000 Subject: [PATCH] fix bad handling of inconsistent options git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1058 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/iopreds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/iopreds.c b/C/iopreds.c index 91e4d43d7..f854abfc9 100644 --- a/C/iopreds.c +++ b/C/iopreds.c @@ -4082,7 +4082,7 @@ format(Term tail, Term args, int sno) goto do_default_error; do_consistency_error: default: - Yap_Error(CONSISTENCY_ERROR, t, "format/2"); + Yap_Error(CONSISTENCY_ERROR, args, "format/2"); do_default_error: if (tnum <= 8) targs = NULL;