]> sourceware.org Git - lvm2.git/commitdiff
lvmsar/lvmsadc: Mention dmstats when run.
authorAlasdair G Kergon <agk@redhat.com>
Thu, 16 Mar 2017 01:36:02 +0000 (01:36 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 16 Mar 2017 01:36:02 +0000 (01:36 +0000)
tools/stub.h

index f94106705be0f8e27bf0d132ba90d3ec02084b0f..a98346a64649b4c820738b828f2d848eddcb4722 100644 (file)
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+/*
 #define unimplemented \
        log_error("Command not implemented yet."); return ECMD_FAILED
 
-/*int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented*/
+int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented
+*/
+
 int lvmsadc(struct cmd_context *cmd __attribute__((unused)),
            int argc __attribute__((unused)),
            char **argv __attribute__((unused)))
 {
-       unimplemented;
+       log_error("There's no 'lvmsadc' command in LVM2.");
+       log_error("Please use the superior 'dmstats' facilities instead.");
+       return ECMD_FAILED;
 }
 
 int lvmsar(struct cmd_context *cmd __attribute__((unused)),
           int argc __attribute__((unused)),
           char **argv __attribute__((unused)))
 {
-       unimplemented;
+       log_error("There's no 'lvmsar' command in LVM2.");
+       log_error("Please use the superior 'dmstats' facilities instead.");
+       return ECMD_FAILED;
 }
 
 int pvdata(struct cmd_context *cmd __attribute__((unused)),
This page took 0.104967 seconds and 5 git commands to generate.