summaryrefslogtreecommitdiff
path: root/util/iekanalyzer.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
commit55adddbc16f65732b57ab8585c47001fced91d77 (patch)
tree27e8239d48c8a6b353db356aff92ee4d225c0a0e /util/iekanalyzer.c
parentd3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (diff)
Imported Upstream version 2.9.9upstream/2.9.9
Diffstat (limited to 'util/iekanalyzer.c')
-rw-r--r--util/iekanalyzer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/iekanalyzer.c b/util/iekanalyzer.c
index 1f405cc..c6e92eb 100644
--- a/util/iekanalyzer.c
+++ b/util/iekanalyzer.c
@@ -63,6 +63,7 @@
#include "ipmicmd.h"
#include "iekanalyzer.h"
+#ifdef HAVE_EK
extern int verbose; /*ipmilanplus.c*/
extern void lprintf(int level, const char * format, ...); /*ipmilanplus.c*/
extern void set_loglevel(int level);
@@ -4127,5 +4128,15 @@ main(int argc, char **argv)
ipmi_close_();
return rc;
}
+#else
+/* ekanalyzer stub */
+#ifdef METACOMMAND
+int i_ekanalyzer(int argc, char **argv)
+{
+ printf("ekanalyzer function is not enabled\n");
+ return -1;
+}
+#endif
+#endif
/*end iekanalyzer.c*/