flashrom/flashrom-0002-Use-dmidecode-path-defined-at-configure-stage.patch
Peter Lemenkov bbd9bbed63 Updated to latest svn ver. 1280 (post-release snapshot for 0.9.3)
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2011-03-09 14:11:12 +03:00

27 lines
683 B
Diff

From 594b2aa88279837529cb577d570d1df921d41c76 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 22:13:53 +0400
Subject: [PATCH 02/10] Use dmidecode path defined at configure stage
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
dmi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dmi.c b/dmi.c
index cda6656..2853c93 100644
--- a/dmi.c
+++ b/dmi.c
@@ -75,7 +75,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.4