e6679fe824
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
27 lines
681 B
Diff
27 lines
681 B
Diff
From 61369dd5e2ed8d9b3897ca7f82d23a7e4294aebd Mon Sep 17 00:00:00 2001
|
|
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Date: Sat, 12 Jun 2010 22:13:53 +0400
|
|
Subject: [PATCH 2/9] Use dmidecode path defined at configure stage
|
|
|
|
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
---
|
|
dmi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/dmi.c b/dmi.c
|
|
index 2c2551d..6f62fc0 100644
|
|
--- a/dmi.c
|
|
+++ b/dmi.c
|
|
@@ -86,7 +86,7 @@ static const struct {
|
|
};
|
|
|
|
#define DMI_COMMAND_LEN_MAX 260
|
|
-static const char *dmidecode_command = "dmidecode";
|
|
+static const char *dmidecode_command = DMIDECODE_PATH;
|
|
|
|
static char *dmistrings[ARRAY_SIZE(dmidecode_names)];
|
|
|
|
--
|
|
1.7.10.1
|
|
|