diff options
author | Sven Gothel <[email protected]> | 2020-10-16 19:20:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-16 19:20:04 +0200 |
commit | c76a8374293940bd2f6036b2f25c5aa67dd91630 (patch) | |
tree | 241424594fab7dd135ddd3e56aa3ae5e096bf59b /src/debug.cpp | |
parent | 881ea0c2e8932195947e5c6a76fffdd6e1bfbb0d (diff) |
Add standalone Eclipse CDT project; Fixing one -Wformat-security warning/error
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
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); } |