Need additional zero to support previous fix.
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 13 Mar 2009 14:42:28 +0000 (10:42 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 13 Mar 2009 14:42:28 +0000 (10:42 -0400)
check_postgres.pl

index 33f6a6fb156f9e610bd79ef076e4e0e784675603..d1538fa056b5259c40ff3892c258f42a73b40cfc 100755 (executable)
@@ -4374,7 +4374,7 @@ sub show_dbstats {
                                next SLURP unless $keepit;
                        }
                        my $template = "backends:%d commits:%d rollbacks:%d read:%d hit:%d ret:%d fetch:%d ins:%d upd: %d del:%d";
-                       my $msg = sprintf "$template", @stats, (0,0,0,0);
+                       my $msg = sprintf "$template", @stats, (0,0,0,0,0);
                        print "$msg dbname:$dbname\n";
                }
        }