fix message

This commit is contained in:
Vitor Santos Costa 2013-04-16 14:38:01 -05:00
parent cf7e904e9e
commit 6d16dcf991
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
tmpbuf[0] = '\0';
}
va_end (ap);
fprintf(stderr,"%% ERROR WITHIN ERROR %d: %s\n", tmpbuf, LOCAL_CurrentError);
fprintf(stderr,"%% ERROR WITHIN ERROR %d: %s\n", LOCAL_CurrentError, tmpbuf);
exit(1);
}
/* must do this here */