LVM2 ./WHATS_NEW doc/example_cmdlib.c
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
WHATS_NEW +1 -0
@@ -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.
doc/example_cmdlib.c +3 -2
@@ -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 */