diff options
author | teor <teor@torproject.org> | 2019-04-02 11:47:05 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-02 11:47:05 +1000 |
commit | 965f0d891232f3ece13f8310c9c01f71ec55f25d (patch) | |
tree | b4afb36ad3e47f8afb9058cd553ae10d02858c93 /src | |
parent | 583ed7c6ecde0c95184586d581f2cb1ac78e8c39 (diff) | |
parent | 809a3a748d5f0cbaa0357ec63388ed291fb7b0bd (diff) | |
download | tor-965f0d891232f3ece13f8310c9c01f71ec55f25d.tar.gz tor-965f0d891232f3ece13f8310c9c01f71ec55f25d.zip |
Merge remote-tracking branch 'tor-github/pr/875'
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/log/util_bug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/log/util_bug.c b/src/lib/log/util_bug.c index b9dc296fc6..65ab7bc9c6 100644 --- a/src/lib/log/util_bug.c +++ b/src/lib/log/util_bug.c @@ -117,7 +117,7 @@ tor_bug_occurred_(const char *fname, unsigned int line, } log_warn(LD_BUG, "%s:%u: %s: This line should not have been reached.%s", fname, line, func, once_str); - tor_snprintf(buf, sizeof(buf), + tor_asprintf(&buf, "Line unexpectedly reached at %s at %s:%u", func, fname, line); } else { |