diff options
Diffstat (limited to 'src/mbgl/util')
-rw-r--r-- | src/mbgl/util/io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/io.cpp b/src/mbgl/util/io.cpp index c84634ac88..84a9ce7eac 100644 --- a/src/mbgl/util/io.cpp +++ b/src/mbgl/util/io.cpp @@ -55,7 +55,7 @@ void deleteFile(const std::string& filename) { void copyFile(const std::string& destination, const std::string& source) { std::ifstream src(source, std::ios::binary); if (!src.good()) { - throw IOException(errno, "Cannot read file " + destination); + throw IOException(errno, "Cannot read file " + source); } std::ofstream dst(destination, std::ios::binary); if (!dst.good()) { |