From 0875b84fa6d8e65e961abfb9c67631b6193c9044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Dewitte?= Date: Tue, 12 Mar 2013 17:29:26 +0100 Subject: [PATCH] sprintf arguments mixed up --- lib/Cake/Log/Engine/FileLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Log/Engine/FileLog.php b/lib/Cake/Log/Engine/FileLog.php index c069f36c7..7f78f42b7 100644 --- a/lib/Cake/Log/Engine/FileLog.php +++ b/lib/Cake/Log/Engine/FileLog.php @@ -147,7 +147,7 @@ class FileLog extends BaseLog { $selfError = true; trigger_error(__d( 'cake_dev', 'Could not apply permission mask "%s" on log file "%s"', - array($pathname, $this->_config['mask'])), E_USER_WARNING); + array($this->_config['mask'], $pathname)), E_USER_WARNING); $selfError = false; } return $result;