[nagiosplug] check_pgsql: Add missing printf(3) argument
Nagios Plugin Development
nagios-plugins at users.sourceforge.net
Sat Aug 17 23:10:12 CEST 2013
Module: nagiosplug
Branch: master
Commit: b62f0fb444aae2c6ac31697dcfaa392ce2b85fc7
Author: Holger Weiss <holger at zedat.fu-berlin.de>
Date: Sat Aug 17 23:06:16 2013 +0200
URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=b62f0fb
check_pgsql: Add missing printf(3) argument
---
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 d3116b0..8d60701 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)) {
More information about the Commits
mailing list