flashrom/flashrom-0002-Use-dmidecode-path-defined-at-configure-stage.patch
Peter Lemenkov e6679fe824 Updated to latest svn ver. 1530 (post-release snapshot for 0.9.5.2)
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2012-05-06 18:12:58 +04:00

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