summaryrefslogtreecommitdiff
path: root/ZAPD/Overlays
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-04-01 19:04:43 -0300
committerGitHub <noreply@github.com>2021-04-01 18:04:43 -0400
commit7a35712e998448324da955bac203040d6361991e (patch)
tree728d24859acf52b7afdad26c4b3761db1a42b308 /ZAPD/Overlays
parentca4458d0ca12134df8c8c92ebbcd22c0f7c21a71 (diff)
Unmangle backtrace (#100)
* its kinda functional Signed-off-by: angie <angheloalf95@gmail.com> * Looks nicer now Signed-off-by: angie <angheloalf95@gmail.com> * cleanup the makefile Signed-off-by: angie <angheloalf95@gmail.com> * Fix small issues with error handling Signed-off-by: angie <angheloalf95@gmail.com> * fix order of dependencies of main.cpp in makefile Signed-off-by: Angie <angheloalf95@gmail.com> * Add varname to the intersection warning Signed-off-by: angie <angheloalf95@gmail.com> * run clang-format Signed-off-by: angie <angheloalf95@gmail.com> * Don't print the backtrace two times Signed-off-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'ZAPD/Overlays')
-rw-r--r--ZAPD/Overlays/ZOverlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/Overlays/ZOverlay.cpp b/ZAPD/Overlays/ZOverlay.cpp
index 1179b50..0bb8844 100644
--- a/ZAPD/Overlays/ZOverlay.cpp
+++ b/ZAPD/Overlays/ZOverlay.cpp
@@ -75,7 +75,7 @@ ZOverlay* ZOverlay::FromBuild(string buildPath, string cfgFolderPath)
SectionType sectionType = GetSectionTypeFromStr(pSec->get_name());
if (sectionType == SectionType::ERROR)
- printf("WARNING: One of the section types returned ERROR\n");
+ fprintf(stderr, "WARNING: One of the section types returned ERROR\n");
relocation_section_accessor relocs(*curReader, pSec);
for (Elf_Xword j = 0; j < relocs.get_entries_num(); j++)