From b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 17 Aug 2013 23:06:16 +0200 Subject: check_pgsql: Add missing printf(3) argument --- plugins/check_pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_pgsql.c') 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) int my_status = STATE_UNKNOWN; if (verbose) - printf ("Executing SQL query \"%s\".\n"); + printf ("Executing SQL query \"%s\".\n", query); res = PQexec (conn, query); if (PGRES_TUPLES_OK != PQresultStatus (res)) { -- cgit v1.2.3