summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-03-10 11:17:54 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-03-14 15:14:26 +0800
commit30a68ef1ba00b24f50efef4f22c426396176462d (patch)
treedaae9ee26e4b27f87e9321096ff526a38e19727c /discover
parent63e8f10b50712894a30ece9618bafa38734e51e4 (diff)
downloadtalos-petitboot-30a68ef1ba00b24f50efef4f22c426396176462d.tar.gz
talos-petitboot-30a68ef1ba00b24f50efef4f22c426396176462d.zip
discover/powerpc: Fix sysparams base path
We are appending the sysparam filename onto sysparams_dir, so we need a trailing slash. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r--discover/platform-powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c
index d1f0575..1e7c828 100644
--- a/discover/platform-powerpc.c
+++ b/discover/platform-powerpc.c
@@ -16,7 +16,7 @@
#include "platform.h"
static const char *partition = "common";
-static const char *sysparams_dir = "/sys/firmware/opal/sysparams";
+static const char *sysparams_dir = "/sys/firmware/opal/sysparams/";
struct param {
char *name;
OpenPOWER on IntegriCloud