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:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:29 +0200
commit38d4a182b7ccc4a683c1f9bcbe1da7779cc14832 (patch)
tree974665e1baf08a8ad70f2fbad970102bd1e7a8c8 /util/iekanalyzer.c
parent69786de63e325b2f4d9f1afc49b30dcf091b5220 (diff)
parent55adddbc16f65732b57ab8585c47001fced91d77 (diff)
Merge tag 'upstream/2.9.9'
Upstream version 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*/