Fix error message when an rgbgfx output file cannot be created

This commit is contained in:
Rangi
2026-07-03 13:08:28 -04:00
parent 9bbb2247a7
commit 2f604bfa9a
+1 -1
View File
@@ -691,7 +691,7 @@ static void outputUnoptimizedMaps(
file.emplace();
if (!file->open(path, std::ios_base::out | std::ios_base::binary)) {
// LCOV_EXCL_START
fatal("Failed to create \"%s\": %s", file->c_str(options.tilemap), strerror(errno));
fatal("Failed to create \"%s\": %s", file->c_str(path), strerror(errno));
// LCOV_EXCL_STOP
}
}