summaryrefslogtreecommitdiffstats
path: root/src/util/debug.c
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-10-15 15:24:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-29 17:15:37 +0100
commit9e2c64c6d4f5560e27207193efea6536a566865e (patch)
tree506ae170ee255081ebfa76ad25bc7a136b47914c /src/util/debug.c
parent644db36ab1111b88abca57d2438b72d618403dde (diff)
downloadsssd-9e2c64c6d4f5560e27207193efea6536a566865e.tar.gz
sssd-9e2c64c6d4f5560e27207193efea6536a566865e.tar.xz
sssd-9e2c64c6d4f5560e27207193efea6536a566865e.zip
Include talloc log in our debug facility
https://fedorahosted.org/sssd/ticket/1495
Diffstat (limited to 'src/util/debug.c')
-rw-r--r--src/util/debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/debug.c b/src/util/debug.c
index e57656d7f..cb90d65ac 100644
--- a/src/util/debug.c
+++ b/src/util/debug.c
@@ -256,3 +256,8 @@ int rotate_debug_files(void)
return open_debug_file();
}
+
+void talloc_log_fn(const char *message)
+{
+ DEBUG(SSSDBG_FATAL_FAILURE, (message));
+}