Fix sprintf parameters
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 17 Feb 2010 22:05:03 +0000 (17:05 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 17 Feb 2010 23:22:00 +0000 (18:22 -0500)
framework/Image/lib/Horde/Image/Exif/Exiftool.php

index b47ffc9..801ea47 100644 (file)
@@ -70,7 +70,7 @@ class Horde_Image_Exif_Exiftool extends Horde_Image_Exif_Base
     {
         exec($this->_exiftool . ' ' . escapeshellcmd($command), $output, $retval);
         if ($retval) {
-            $this->_logErr(sprintf("Error running command: %s"), $command . "\n" . implode("\n", $output));
+            $this->_logErr(sprintf("Error running command: %s", $command . "\n" . implode("\n", $output)));
         }
         if (is_array($output)) {
             $output = implode('', $output);