mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Display error when running unimplemented functions.
This commit is contained in:
parent
257f5ca091
commit
cb0cc2999a
18
tools/stub.h
18
tools/stub.h
@ -4,12 +4,14 @@
|
||||
* This file is released under the GPL.
|
||||
*/
|
||||
|
||||
int e2fsadm(int argc, char **argv) {return 1;}
|
||||
int lvmdiskscan(int argc, char **argv) {return 1;}
|
||||
int lvmsadc(int argc, char **argv) {return 1;}
|
||||
int lvmsar(int argc, char **argv) {return 1;}
|
||||
int pvdata(int argc, char **argv) {return 1;}
|
||||
int pvmove(int argc, char **argv) {return 1;}
|
||||
int vgmknodes(int argc, char **argv) {return 1;}
|
||||
int vgsplit(int argc, char **argv) {return 1;}
|
||||
#define unimplemented \
|
||||
{ log_error("Command not implemented yet."); return ECMD_FAILED;}
|
||||
int e2fsadm(int argc, char **argv) unimplemented
|
||||
int lvmdiskscan(int argc, char **argv) unimplemented
|
||||
int lvmsadc(int argc, char **argv) unimplemented
|
||||
int lvmsar(int argc, char **argv) unimplemented
|
||||
int pvdata(int argc, char **argv) unimplemented
|
||||
int pvmove(int argc, char **argv) unimplemented
|
||||
int vgmknodes(int argc, char **argv) unimplemented
|
||||
int vgsplit(int argc, char **argv) unimplemented
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user