aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-16 19:20:04 +0200
committerSven Gothel <[email protected]>2020-10-16 19:20:04 +0200
commitc76a8374293940bd2f6036b2f25c5aa67dd91630 (patch)
tree241424594fab7dd135ddd3e56aa3ae5e096bf59b /src/debug.cpp
parent881ea0c2e8932195947e5c6a76fffdd6e1bfbb0d (diff)
Add standalone Eclipse CDT project; Fixing one -Wformat-security warning/error
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index f0cb8ed..66341ad 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -78,7 +78,7 @@ std::string jau::get_backtrace(int skip_frames) noexcept {
}
void jau::print_backtrace(int skip_frames) noexcept {
- fprintf(stderr, get_backtrace(skip_frames).c_str());
+ fprintf(stderr, "%s", get_backtrace(skip_frames).c_str());
fflush(stderr);
}