Explorar el Código

check_pgsql: Add missing printf(3) argument

Holger Weiss hace 12 años
padre
commit
b62f0fb444
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugins/check_pgsql.c

+ 1 - 1
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)) {