diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 1dc6ac8177..04f1d36131 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -456,7 +456,7 @@ class Filesystem if (!is_dir($dir)) { $this->mkdir($dir); } elseif (!is_writable($dir)) { - throw new IOException(sprintf('Unable to write in the %s directory\n', $dir)); + throw new IOException(sprintf('Unable to write in the %s directory.', $dir)); } $tmpFile = tempnam($dir, basename($filename));