summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-29 22:33:34 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-29 22:33:34 +0000
commit8308a379086a82126f685f3d8668e48b0453880d (patch)
treeff58a6840424547da934e4bd85e43d14505c91e7 /src/common/util.c
parent9027491ae154280094ecf292dc5a8953532363cb (diff)
downloadtor-8308a379086a82126f685f3d8668e48b0453880d.tar.gz
tor-8308a379086a82126f685f3d8668e48b0453880d.zip
r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400
Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 59be5ebb7b..5294103cd1 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -115,7 +115,7 @@ _tor_malloc(size_t size DMALLOC_PARAMS)
result = dmalloc_malloc(file, line, size, DMALLOC_FUNC_MALLOC, 0, 0);
if (PREDICT(result == NULL, 0)) {
- log_err(LD_MM,"Out of memory. Dying.");
+ log_err(LD_MM,"Out of memory on malloc(). Dying.");
/* If these functions die within a worker process, they won't call
* spawn_exit, but that's ok, since the parent will run out of memory soon
* anyway. */
@@ -147,7 +147,7 @@ _tor_realloc(void *ptr, size_t size DMALLOC_PARAMS)
result = dmalloc_realloc(file, line, ptr, size, DMALLOC_FUNC_REALLOC, 0);
if (PREDICT(result == NULL, 0)) {
- log_err(LD_MM,"Out of memory. Dying.");
+ log_err(LD_MM,"Out of memory on realloc(). Dying.");
exit(1);
}
return result;
@@ -165,7 +165,7 @@ _tor_strdup(const char *s DMALLOC_PARAMS)
dup = dmalloc_strdup(file, line, s, 0);
if (PREDICT(dup == NULL, 0)) {
- log_err(LD_MM,"Out of memory. Dying.");
+ log_err(LD_MM,"Out of memory on strdup(). Dying.");
exit(1);
}
return dup;