From bc54927859798367ba8aa91848f14c4cd3ba5d3d Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 3 Jul 2014 22:32:45 -0700 Subject: [PATCH] vm/image.cpp: Better error for opening a file for writing. --- vm/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/image.cpp b/vm/image.cpp index a34879bc30..b394885730 100644 --- a/vm/image.cpp +++ b/vm/image.cpp @@ -264,7 +264,7 @@ bool factor_vm::save_image(const vm_char* saving_filename, file = OPEN_WRITE(saving_filename); if (file == NULL) { - std::cout << "Cannot open image file: " << saving_filename << std::endl; + std::cout << "Cannot open image file for writing: " << saving_filename << std::endl; std::cout << strerror(errno) << std::endl; return false; }