summaryrefslogtreecommitdiffstats
path: root/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp')
-rw-r--r--WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp b/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp
index 27e9946..d1adc3d 100644
--- a/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp
+++ b/WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp
@@ -321,12 +321,12 @@ static bool writeFile(const char* outFile, const unsigned char* data, size_t dat
{
FILE* file = fopen(outFile, "wb");
if (!file) {
- fprintf(stderr, "ImageDiff: Unable to create file \"%s\"\n", file);
+ fprintf(stderr, "ImageDiff: Unable to create file \"%s\"\n", outFile);
return false;
}
if (dataSize != fwrite(data, 1, dataSize, file)) {
fclose(file);
- fprintf(stderr, "ImageDiff: Unable to write data to file \"%s\"\n", file);
+ fprintf(stderr, "ImageDiff: Unable to write data to file \"%s\"\n", outFile);
return false;
}
fclose(file);