diff options
author | Alasdair Kergon <agk@redhat.com> | 2009-07-10 09:59:37 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2009-07-10 09:59:37 +0000 |
commit | a9cb6969b0f8e73d78e5e2d94e24ce55d549c517 (patch) | |
tree | fe9bb4d036429dd70e35449f68bd4b92f5d3386a /po | |
parent | f1c90ec108efa6f113be4ee0da65331f6e15877a (diff) | |
download | lvm2-a9cb6969b0f8e73d78e5e2d94e24ce55d549c517.tar.gz |
Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old
Change plog to use dm_log_with_errno unless deprecated dm_log_init was used.
Rename plog macro to LOG_LINE and use in dm_dump_memory_debug.
Diffstat (limited to 'po')
-rw-r--r-- | po/pogen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/po/pogen.h b/po/pogen.h index 2be92ba70..6ab815451 100644 --- a/po/pogen.h +++ b/po/pogen.h @@ -21,3 +21,6 @@ #define print_log(level, file, line, format, args...) print_log(format, args) #define dm_log(level, file, line, format, args...) dm_log(format, args) +#define dm_log_with_errno(level, file, line, format, dm_errno, args...) \ + dm_log(format, args) + |