aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-31 22:49:18 +0100
committergingerBill <bill@gingerbill.org>2021-08-31 22:49:18 +0100
commit169e717021d6b0f1016360c820bc81e801bf1e53 (patch)
tree34f863c058e95a979a13f05a095ead7f979214a4 /src/main.cpp
parent72a741554c8905b5d2a618368e4c65c1ea45a9b7 (diff)
Remove debug message
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6a0bf381c..8df722437 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2132,7 +2132,7 @@ int strip_semicolons(Parser *parser) {
debugf("Copy '%s' to '%s'\n", new_fullpath, old_fullpath);
if (!gb_file_copy(new_fullpath, old_fullpath, false)) {
- gb_printf_err("failed to move '%s' to '%s' %d\n", old_fullpath, new_fullpath, GetLastError());
+ gb_printf_err("failed to copy '%s' to '%s'\n", old_fullpath, new_fullpath);
debugf("Copy '%s' to '%s'\n", old_fullpath_backup, old_fullpath);
if (!gb_file_copy(old_fullpath_backup, old_fullpath, false)) {
gb_printf_err("failed to restore '%s' from '%s'\n", old_fullpath, old_fullpath_backup);