aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-08 18:26:50 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-08 18:26:50 +0000
commitae78bf55e53a73343e89001b5876c43e4129bf01 (patch)
tree468815260a68c5482a5caca69a00fbaadca726ca /include
parenta5f38dd107aca6ec9b93f019078a6164ca389074 (diff)
Change trylock output for what already has the lock from an error to a warning.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50034 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index ca6663a9c..d326b6157 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -306,7 +306,7 @@ static inline int __ast_pthread_mutex_trylock(const char *filename, int lineno,
filename, lineno, func, mutex_name);
}
} else {
- __ast_mutex_logger("%s line %d (%s): Error: '%s' was locked here.\n",
+ __ast_mutex_logger("%s line %d (%s): Warning: '%s' was locked here.\n",
t->file[t->reentrancy-1], t->lineno[t->reentrancy-1], t->func[t->reentrancy-1], mutex_name);
}