diff options
author | Petr Rockai <prockai@redhat.com> | 2009-12-16 19:22:11 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2009-12-16 19:22:11 +0000 |
commit | 550cae2340236836fdf89777a810918411510cd4 (patch) | |
tree | 293e8e0f0d85e360632a371956a1d211b4671238 /lib/log/log.h | |
parent | b1ebf028dec7a735bb301110e8cf7b8796dc8f9c (diff) | |
download | lvm2-550cae2340236836fdf89777a810918411510cd4.tar.gz lvm2-550cae2340236836fdf89777a810918411510cd4.tar.xz lvm2-550cae2340236836fdf89777a810918411510cd4.zip |
#define an INTERNAL_ERROR macro and use it throughout LVM.
Diffstat (limited to 'lib/log/log.h')
-rw-r--r-- | lib/log/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/log/log.h b/lib/log/log.h index 9509e957..079a0106 100644 --- a/lib/log/log.h +++ b/lib/log/log.h @@ -53,6 +53,7 @@ #define _LOG_WARN 4 #define _LOG_ERR 3 #define _LOG_FATAL 2 +#define INTERNAL_ERROR "Internal error: " #define log_debug(x...) LOG_LINE(_LOG_DEBUG, x) #define log_info(x...) LOG_LINE(_LOG_INFO, x) |