summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 1061ef8583..81fef71dcf 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -174,7 +174,7 @@ _notice_handler(void *arg, const char *message)
TSRMLS_FETCH();
if (! PGG(ignore_notices)) {
- php_log_err((char *) message);
+ php_log_err((char *) message TSRMLS_CC);
if (PGG(last_notice) != NULL) {
efree(PGG(last_notice));
}