Skip to content

Commit

Permalink
[clang-format-command] fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 2, 2020
1 parent 4ffb140 commit 492949c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sys/boutexception.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ std::string BoutException::getBacktrace() const {
if (dladdr(trace[i],&info)){
// Additionally, check whether this is the default offset for an executable
if (info.dli_fbase != reinterpret_cast<void*>(0x400000))
ptr=reinterpret_cast<void*>(reinterpret_cast<size_t>(trace[i])-reinterpret_cast<size_t>(info.dli_fbase));
ptr = reinterpret_cast<void*>(reinterpret_cast<size_t>(trace[i])
- reinterpret_cast<size_t>(info.dli_fbase));
}

// Pipe stderr to /dev/null to avoid cluttering output
Expand Down

0 comments on commit 492949c

Please sign in to comment.