| Index: src/trusted/nonnacl_util/sel_ldr_launcher.cc
|
| ===================================================================
|
| --- src/trusted/nonnacl_util/sel_ldr_launcher.cc (revision 5333)
|
| +++ src/trusted/nonnacl_util/sel_ldr_launcher.cc (working copy)
|
| @@ -261,8 +261,8 @@
|
| // TODO(mseaborn): Tidy this up so that we do not need a conditional.
|
| #ifdef NACL_STANDALONE
|
| struct NaClEnvCleanser env_cleanser;
|
| - NaClEnvCleanserCtor(&env_cleanser);
|
| - if (!NaClEnvCleanserInit(&env_cleanser, GetEnviron())) {
|
| + NaClEnvCleanserCtor(&env_cleanser, 1);
|
| + if (!NaClEnvCleanserInit(&env_cleanser, GetEnviron(), NULL)) {
|
| NaClLog(LOG_FATAL, "Failed to initialise env cleanser\n");
|
| }
|
| for (const char* const* env = NaClEnvCleanserEnvironment(&env_cleanser);
|
|
|