printf fixes.
authorGreg Sabino Mullane <[email protected]>
Mon, 4 Jul 2011 14:01:57 +0000 (10:01 -0400)
committerGreg Sabino Mullane <[email protected]>
Mon, 4 Jul 2011 14:01:57 +0000 (10:01 -0400)
check_postgres.pl

index d98e98945706461d0847e64fcba20a3e8c48315b..6a8863e7b2901b05b3714a2e83157f69b600aeb3 100755 (executable)
@@ -1597,7 +1597,8 @@ sub finishup {
                 or ($DEBUGOUTPUT =~ /u/io and $type eq 'u');
         }
         for (sort keys %$info) {
-            printf "$_ %s%s ",
+            printf "%s %s%s ",
+                $_,
                 $showdebug ? "[DEBUG: $DEBUG_INFO] " : '',
                 join $SEP => map { $_->[0] } @{$info->{$_}};
         }
@@ -6410,10 +6411,10 @@ sub write_audit_file {
     print {$fh} "## Port: $row->{port}\n";
     print {$fh} "## User: $row->{dbuser}\n";
     if ($arg->{same_schema}) {
-        printf {$fh} "## Start of same_schema information:\n";
+        print {$fh} "## Start of same_schema information:\n";
         {
             local $Data::Dumper::Indent = 1;
-            printf {$fh} Dumper $info;
+            print {$fh} Dumper $info;
         }
         print {$fh} "## End of same_schema information\n";
     }