aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2008-12-10 17:36:56 +0000
committerEric B Munson <ebmunson@us.ibm.com>2009-01-08 12:54:50 +0000
commitd3f631be8f18f1fc2531bb43c36f74778c514567 (patch)
tree9c1c18439b7e273445d76690b4ec89a641c8f3ce /init.c
parentcdf5c1b132991c00202fb4cb71348a20226a23f1 (diff)
downloadlibhugetlbfs-d3f631be8f18f1fc2531bb43c36f74778c514567.tar.gz
Create environment parse function and value storage struct
hugetlb_setup_env will be called first during init. All environment variable parsing should happen in this function with values being saved for lateer use. Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'init.c')
-rw-r--r--init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.c b/init.c
index f9cd804..794e03c 100644
--- a/init.c
+++ b/init.c
@@ -21,6 +21,7 @@
static void __attribute__ ((constructor)) setup_libhugetlbfs(void)
{
+ hugetlbfs_setup_env();
hugetlbfs_setup_debug();
setup_mounts();
setup_features();