From: Greg Sabino Mullane Date: Tue, 2 Mar 2010 16:04:10 +0000 (-0500) Subject: warning and critical may be empty, so use %s not %d X-Git-Tag: 2.15.1~62 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=efd7b16dab7fc2aaa6c48caa223d09d6429aae0d;p=check_postgres.git warning and critical may be empty, so use %s not %d --- diff --git a/check_postgres.pl b/check_postgres.pl index 8033ba368..2729ce6a7 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3975,7 +3975,7 @@ WHERE current_query <> ''$USERWHERECLAUSE $MRTG and do_mrtg({one => $maxtime, msg => $whodunit}); - $db->{perf} .= sprintf q{'%s'=%s;%d;%d}, + $db->{perf} .= sprintf q{'%s'=%s;%s;%s}, $whodunit, $maxtime, $warning,