summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-07-15 23:57:54 +0000
committerAlasdair Kergon <agk@redhat.com>2009-07-15 23:57:54 +0000
commitd614646157d51b6a396519b73ec99e112e6948de (patch)
tree65107ed1ba99a464fd3b3ad314ae0ddc7e7336e7 /po
parentb8f47d5f69ca666623ac83e0aea986f582a3a0ae (diff)
downloadlvm2-d614646157d51b6a396519b73ec99e112e6948de.tar.gz
Store any errno and error messages issued while processing each command.
(Enabled by default while we test it, but in due course we'll only store the error messages when we need to.)
Diffstat (limited to 'po')
-rw-r--r--po/pogen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/po/pogen.h b/po/pogen.h
index 6ab815451..66940b97a 100644
--- a/po/pogen.h
+++ b/po/pogen.h
@@ -19,8 +19,8 @@
* different architectures.
*/
-#define print_log(level, file, line, format, args...) print_log(format, args)
+#define print_log(level, dm_errno, 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)
+#define dm_log_with_errno(level, dm_errno, file, line, format, args...) \
+ dm_log(level, file, line, format, args)