diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-06 13:24:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-06 13:24:01 -0500 |
commit | 48f734178362d3a8b490a23ceff202a2027a27fc (patch) | |
tree | 47b85f54bd0a7f7f59d6bdb35c80e58c490c22e3 /src/lib/log | |
parent | 13216f848a120760fa372b9ae8f6d0840f4a83ba (diff) | |
parent | 6da989cfe8323418ee1f888287d0d65b21b60c1d (diff) | |
download | tor-48f734178362d3a8b490a23ceff202a2027a27fc.tar.gz tor-48f734178362d3a8b490a23ceff202a2027a27fc.zip |
Merge branch 'maint-0.4.2'
Diffstat (limited to 'src/lib/log')
-rw-r--r-- | src/lib/log/util_bug.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/log/util_bug.h b/src/lib/log/util_bug.h index d0a311ac61..b7dcefcd96 100644 --- a/src/lib/log/util_bug.h +++ b/src/lib/log/util_bug.h @@ -247,10 +247,12 @@ void tor_assertion_failed_(const char *fname, unsigned int line, const char *func, const char *expr, - const char *fmt, ...); + const char *fmt, ...) + CHECK_PRINTF(5,6); void tor_bug_occurred_(const char *fname, unsigned int line, const char *func, const char *expr, - int once, const char *fmt, ...); + int once, const char *fmt, ...) + CHECK_PRINTF(6,7); void tor_abort_(void) ATTR_NORETURN; |