f918b18a61
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
27 lines
681 B
Diff
27 lines
681 B
Diff
From cded4a9b60e8c7cd06d76f77a60626b600951b61 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.4
|
|
|