diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index d3116b00..8d60701f 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
@@ -594,7 +594,7 @@ do_query (PGconn *conn, char *query) | |||
594 | int my_status = STATE_UNKNOWN; | 594 | int my_status = STATE_UNKNOWN; |
595 | 595 | ||
596 | if (verbose) | 596 | if (verbose) |
597 | printf ("Executing SQL query \"%s\".\n"); | 597 | printf ("Executing SQL query \"%s\".\n", query); |
598 | res = PQexec (conn, query); | 598 | res = PQexec (conn, query); |
599 | 599 | ||
600 | if (PGRES_TUPLES_OK != PQresultStatus (res)) { | 600 | if (PGRES_TUPLES_OK != PQresultStatus (res)) { |