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:
parent
c9c7d25c35
commit
9e0521ebb0
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.68 -
|
Version 2.02.68 -
|
||||||
===============================
|
===============================
|
||||||
|
Fix lvm2cmd example in documentation.
|
||||||
Allow use of lvm2app and lvm2cmd headers in C++ mode.
|
Allow use of lvm2app and lvm2cmd headers in C++ mode.
|
||||||
Fix wrong lvm path creation from configure introduced in previous release.
|
Fix wrong lvm path creation from configure introduced in previous release.
|
||||||
Fix segfault in clvmd -R if no response from daemon received.
|
Fix segfault in clvmd -R if no response from daemon received.
|
||||||
|
@ -13,10 +13,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lvm2cmd.h"
|
#include "lvm2cmd.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
/* All output gets passed to this function line-by-line */
|
/* All output gets passed to this function line-by-line */
|
||||||
void test_log_fn(int level, int dm_errno, const char *file, int line,
|
void test_log_fn(int level, const char *file, int line,
|
||||||
const char *format)
|
int dm_errno, const char *format)
|
||||||
{
|
{
|
||||||
/* Extract and process output here rather than printing it */
|
/* Extract and process output here rather than printing it */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user