diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-17 23:06:16 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-17 23:06:16 +0200 |
commit | b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7 (patch) | |
tree | 8a51c926aa566f94796aa8841b6aa7f3edaccdb0 | |
parent | 2530da643962269511d678442949b6f729576456 (diff) | |
download | monitoring-plugins-b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7.tar.gz |
check_pgsql: Add missing printf(3) argument
-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) 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)) { |