[lvm-devel] LVM2 ./WHATS_NEW doc/example_cmdlib.c
mbroz at sourceware.org
mbroz at sourceware.org
Wed Jun 16 13:03:52 UTC 2010
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-06-16 13:03:51
Modified files:
. : WHATS_NEW
doc : example_cmdlib.c
Log message:
Fix lvm2cmd example in documentation.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1612&r2=1.1613
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/doc/example_cmdlib.c.diff?cvsroot=lvm2&r1=1.2&r2=1.3
--- LVM2/WHATS_NEW 2010/06/16 13:01:25 1.1612
+++ LVM2/WHATS_NEW 2010/06/16 13:03:48 1.1613
@@ -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.
--- LVM2/doc/example_cmdlib.c 2009/07/15 23:57:55 1.2
+++ LVM2/doc/example_cmdlib.c 2010/06/16 13:03:50 1.3
@@ -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 */
More information about the lvm-devel
mailing list