diff --git a/core/src/main/scala/spark/Utils.scala b/core/src/main/scala/spark/Utils.scala
index fd7b8cc8d5340ee593243ff8033e149f04b098cc..645c18541e20519d2ba8050b0aeed4ced67c825c 100644
--- a/core/src/main/scala/spark/Utils.scala
+++ b/core/src/main/scala/spark/Utils.scala
@@ -116,7 +116,7 @@ private object Utils extends Logging {
     while (dir == null) {
       attempts += 1
       if (attempts > maxAttempts) {
-        throw new IOException("Failed to create a temp directory under (" + root + ") after " +
+        throw new IOException("Failed to create a temp directory (under " + root + ") after " +
           maxAttempts + " attempts!")
       }
       try {