summaryrefslogtreecommitdiff
path: root/contrib/cube/cubeparse.y
diff options
context:
space:
mode:
authorTom Lane2002-11-22 16:25:32 +0000
committerTom Lane2002-11-22 16:25:32 +0000
commit95c9c22633f291e0f78a35614847fc80c87d0880 (patch)
tree80bcd2e3b8903be73e25f63e597a390492732488 /contrib/cube/cubeparse.y
parenteeec0a6775df7c1250c58b34af9d1eed88c60823 (diff)
Fix a dozen or so places that were passing unpredictable data strings
as elog format strings. Hai-Chen Tu pointed out the problem in contrib/dbmirror, but it wasn't the only such error.
Diffstat (limited to 'contrib/cube/cubeparse.y')
-rw-r--r--contrib/cube/cubeparse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y
index 95bc016431d..854912857bb 100644
--- a/contrib/cube/cubeparse.y
+++ b/contrib/cube/cubeparse.y
@@ -200,7 +200,7 @@ int cube_yyerror ( char *msg ) {
);
reset_parse_buffer();
- elog(ERROR, buf);
+ elog(ERROR, "%s", buf);
return 0;
}