Index: src/log-utils.cc |
diff --git a/src/log-utils.cc b/src/log-utils.cc |
index 27e654d5e8a55bb08da0f4bc47db87e210e65629..7bd7baa2d83893642cc31ca95db5668422fac63d 100644 |
--- a/src/log-utils.cc |
+++ b/src/log-utils.cc |
@@ -125,7 +125,7 @@ void Log::Initialize() { |
stream.Put(*p); |
} |
} |
- SmartPointer<const char> expanded = stream.ToCString(); |
+ SmartArrayPointer<const char> expanded = stream.ToCString(); |
OpenFile(*expanded); |
} else { |
OpenFile(FLAG_logfile); |