Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94fa830

Browse files
committed
Silence compiler warning, noted by Stefan Kaltenbrunner
1 parent 0ae19c1 commit 94fa830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/xml2/xpath.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.24 2009/12/29 17:40:59 heikki Exp $
2+
* $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.25 2010/01/17 12:11:25 mha Exp $
33
*
44
* Parser interface for DOM-based parser (libxml) rather than
55
* stream-based SAX-type parser
@@ -129,7 +129,7 @@ elog_error(int level, char *explain, int force)
129129
if (pgxml_errorMsg == NULL)
130130
{
131131
ereport(level, (errcode(ERRCODE_EXTERNAL_ROUTINE_EXCEPTION),
132-
errmsg(explain)));
132+
errmsg("%s", explain)));
133133
}
134134
else
135135
{

0 commit comments

Comments
 (0)