commit | 3f68db6a14bd54e5650da05f7c2997e64cb9e3cc | [log] [tgz] |
---|---|---|
author | Aaron Germuth <germuth@google.com> | Sat Nov 19 19:13:48 2016 -0800 |
committer | Aaron Germuth <germuth@google.com> | Sat Nov 19 19:13:48 2016 -0800 |
tree | bea5fc65c71f301e66bff614b0a91ba6d8e32cf6 | |
parent | 2505c69a8e398268687b16da65efcc647e61fe12 [diff] |
hnvram: replace secure_getenv with getenv Many of our platforms do not support support secure_getenv. Change-Id: I1744c973d6b52413f193b2859208feecfe46d81f
diff --git a/hnvram/hnvram_main.c b/hnvram/hnvram_main.c index 4ba0cde..e1dd780 100644 --- a/hnvram/hnvram_main.c +++ b/hnvram/hnvram_main.c
@@ -476,7 +476,7 @@ } int init_nvram() { - const char* location = secure_getenv("HNVRAM_LOCATION"); + const char* location = getenv("HNVRAM_LOCATION"); return (int)HMX_NVRAM_Init(location); }