summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-17 21:06:16 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-17 21:06:16 (GMT)
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 d3116b0..8d60701 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)) {