1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix lvm2cmd example in documentation.

This commit is contained in:
Milan Broz 2010-06-16 13:03:48 +00:00
parent c9c7d25c35
commit 9e0521ebb0
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.68 -
===============================
Fix lvm2cmd example in documentation.
Allow use of lvm2app and lvm2cmd headers in C++ mode.
Fix wrong lvm path creation from configure introduced in previous release.
Fix segfault in clvmd -R if no response from daemon received.

View File

@ -13,10 +13,11 @@
*/
#include "lvm2cmd.h"
#include <stdio.h>
/* All output gets passed to this function line-by-line */
void test_log_fn(int level, int dm_errno, const char *file, int line,
const char *format)
void test_log_fn(int level, const char *file, int line,
int dm_errno, const char *format)
{
/* Extract and process output here rather than printing it */