summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-11-02 22:21:29 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-06 12:02:45 +0100
commitfa3e287038c4be174a07ede60a61f5c343e260ec (patch)
treef08a9acbcdd38e8a57b76ea7e908e6ecb587a339
parenta97f6203967b801d666ac686cdb7c76a7dfe55a9 (diff)
downloadsssd-fa3e287038c4be174a07ede60a61f5c343e260ec.tar.gz
sssd-fa3e287038c4be174a07ede60a61f5c343e260ec.tar.bz2
sssd-fa3e287038c4be174a07ede60a61f5c343e260ec.zip
add SSSDBG_IMPORTANT_INFO macro
We currently have only SSSDBG_FATAL_FAILURE macro that corresponds to original debug level 0. But there are several level 0 messages that are not actually failures but an important information. We should use this new macro to represent them.
-rw-r--r--src/util/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index df57a3de..61e1b139 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -77,6 +77,7 @@ errno_t set_debug_file_from_fd(const int fd);
#define SSSDBG_TRACE_LIBS 0x1000 /* level 7 */
#define SSSDBG_TRACE_INTERNAL 0x2000 /* level 8 */
#define SSSDBG_TRACE_ALL 0x4000 /* level 9 */
+#define SSSDBG_IMPORTANT_INFO SSSDBG_OP_FAILURE
#define SSSDBG_INVALID -1
#define SSSDBG_UNRESOLVED 0