From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 22:13:53 +0400
Subject: [PATCH] Use dmidecode path defined at configure stage
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/dmi.c b/dmi.c
index a7a9a61..093b9a2 100644
--- a/dmi.c
+++ b/dmi.c
@@ -294,7 +294,7 @@ out:
#else /* CONFIG_INTERNAL_DMI */
#define DMI_COMMAND_LEN_MAX 300
-static const char *dmidecode_command = "dmidecode";
+static const char *dmidecode_command = DMIDECODE_PATH;
static char *get_dmi_string(const char *string_name)
{