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 /plugins/check_pgsql.c | |
parent | 2530da643962269511d678442949b6f729576456 (diff) | |
download | monitoring-plugins-b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7.tar.gz |
check_pgsql: Add missing printf(3) argument
Diffstat (limited to 'plugins/check_pgsql.c')
-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)) { |