1
0
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:
Alasdair Kergon 2002-01-31 20:37:26 +00:00
parent 257f5ca091
commit cb0cc2999a

View File

@ -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