aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-08-17 23:06:16 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-08-17 23:06:16 +0200
commitb62f0fb444aae2c6ac31697dcfaa392ce2b85fc7 (patch)
tree8a51c926aa566f94796aa8841b6aa7f3edaccdb0
parent2530da643962269511d678442949b6f729576456 (diff)
downloadmonitoring-plugins-b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7.tar.gz
check_pgsql: Add missing printf(3) argument
-rw-r--r--plugins/check_pgsql.c2
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)
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)) {