mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-18 03:33:15 +03:00
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.)
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
#include "lvm2cmd.h"
|
||||
|
||||
/* All output gets passed to this function line-by-line */
|
||||
void test_log_fn(int level, const char *file, int line, const char *format)
|
||||
void test_log_fn(int level, int dm_errno, const char *file, int line,
|
||||
const char *format)
|
||||
{
|
||||
/* Extract and process output here rather than printing it */
|
||||
|
||||
|
Reference in New Issue
Block a user