diff options
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index 49ec75dc4a..414efce5f4 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -324,12 +324,12 @@ tor_log_mallinfo(int severity) /** * Returns the natural logarithm of d base 2. We define this wrapper here so - * as to make it easier not to conflict with Tor's log() macro. + * as to make it easier not to conflict with Tor's tor_log() macro. */ double tor_mathlog(double d) { - return log(d); + return tor_log(d); } /** Return the long integer closest to <b>d</b>. We define this wrapper |